/* ================================================
   보스 일정 페이지 전용 스타일
   ================================================ */

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

/* ================================================
   로그인 화면
   ================================================ */
.party-login-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 40px 0;
}

.party-login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.login-logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 14px;
}

.login-title {
    font-size: 20px;
    font-weight: 700;
    color: #3C3744;
    margin-bottom: 8px;
}

.login-desc {
    font-size: 13px;
    color: #888;
    margin-bottom: 28px;
    line-height: 1.6;
}

.login-form {
    text-align: left;
}

.login-field {
    margin-bottom: 16px;
}

.login-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    margin-bottom: 6px;
}

.login-field input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.login-field input:focus {
    border-color: #3C3744;
}

.login-error {
    background: #fff0f0;
    color: #c0392b;
    border: 1px solid #f5c6c6;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 14px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #3C3744;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
    margin-bottom: 12px;
}

.login-btn:hover { background: #4a4756; }
.login-btn:disabled { background: #aaa; cursor: not-allowed; }

.login-note {
    text-align: center;
    font-size: 12px;
    color: #bbb;
    margin: 0;
}

.login-sync-area {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sync-link-btn {
    background: none;
    border: 1px solid #B4C5E4;
    border-radius: 20px;
    padding: 7px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #4a6fa5;
    cursor: pointer;
    transition: all 0.2s;
}
.sync-link-btn:hover { background: #e8f0fb; }

.login-sync-note {
    font-size: 11px;
    color: #bbb;
    margin: 0;
    text-align: center;
}

.sync-status-badge {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    background: #f0f7ee;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    color: #2e7d32;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
}
.sync-status-badge > span:nth-child(2) {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.sync-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    flex-shrink: 0;
}
.sync-unlink-btn {
    font-size: 11px;
    color: #aaa;
    text-decoration: none;
    background: none;
    border: none;
    border-bottom: 1px solid #ddd;
    margin-left: 0;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
    flex-shrink: 0;
}
.sync-unlink-btn:hover { color: #FF6B6B; border-color: #FF6B6B; }
.sync-delete-btn {
    font-size: 11px;
    color: #aaa;
    background: none;
    border: none;
    border-bottom: 1px solid #ddd;
    margin-left: 0;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
    flex-shrink: 0;
}
.sync-delete-btn:hover { color: #e53e3e; border-color: #e53e3e; }

.party-btn-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
}
.my-party-find-btn {
    flex: 1;
    padding: 7px 10px;
    background: none;
    border: 1.5px solid #B4C5E4;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #3C3744;
    cursor: pointer;
    transition: background 0.2s;
}
.my-party-find-btn:hover { background: #e8f0fb; }

/* ================================================
   파티 정보 바
   ================================================ */
.party-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 10px;
    padding: 10px 16px;
    margin: 16px 0 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    gap: 12px;
}

.party-info-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #555;
}

.party-badge {
    background: #3C3744;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
}

.party-name-text {
    font-weight: 700;
    color: #3C3744;
}

.party-divider {
    color: #ddd;
}

.party-nickname-text {
    color: #666;
}

.logout-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}
.logout-btn:hover { background: #f5f5f5; color: #3C3744; border-color: #3C3744; }

.leave-party-btn {
    background: none;
    border: 1px solid #ffb3b3;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #e53e3e;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}
.leave-party-btn:hover { background: #fff0f0; }

.leader-badge {
    background: #f0c040;
    color: #7a5800;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
}

.member-manage-btn {
    background: none;
    border: 1px solid #B4C5E4;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #4a6fa5;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.member-manage-btn:hover { background: #e8f0fb; }

.dissolve-btn {
    background: none;
    border: 1px solid #ffb3b3;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #c0392b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.dissolve-btn:hover { background: #fff0f0; }

/* 파티장 메뉴 */
.leader-btns-pc {
    display: flex;
    gap: 8px;
    align-items: center;
}

.leader-menu-mobile {
    display: none;
    position: relative;
}

.hamburger-btn {
    background: none;
    border: 1px solid #B4C5E4;
    border-radius: 8px;
    width: 34px;
    height: 34px;
    font-size: 18px;
    cursor: pointer;
    color: #3C3744;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.hamburger-btn:hover { background: #e8f0fb; }

.leader-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 500;
    min-width: 140px;
    overflow: hidden;
}
.leader-dropdown.open { display: block; }

.leader-dropdown button {
    display: block;
    width: 100%;
    padding: 11px 16px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    font-weight: 600;
    color: #3C3744;
    cursor: pointer;
}
.leader-dropdown button:last-child { border-bottom: none; }
.leader-dropdown button:hover { background: #f5f7ff; }
.leader-dropdown button.dropdown-dissolve { color: #e53e3e; }
.leader-dropdown button.dropdown-dissolve:hover { background: #fff0f0; }

@media (max-width: 768px) {
    .leader-btns-pc  { display: none; }
    .leader-menu-mobile { display: block; }
}

.rest-btn {
    background: none;
    border: 1px solid #f0c040;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #856404;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.rest-btn:hover { background: #fff9e6; }
.rest-btn.resting {
    background: #fff3cd;
    border-color: #f0c040;
    color: #856404;
}

.cal-avail-item.rest-item {
    background: #f5f5f5;
    color: #aaa;
    font-style: italic;
}
.cal-avail-item.mine-rest {
    background: #fff9e6;
    color: #b88a00;
    font-style: italic;
}

.member-panel {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
}
.member-panel-title {
    font-size: 13px;
    font-weight: 700;
    color: #3C3744;
    margin-bottom: 12px;
}
.member-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}
.member-row:last-child { border-bottom: none; }
.member-nick {
    font-size: 14px;
    color: #3C3744;
}
.kick-btn {
    background: #FF6B6B;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    cursor: pointer;
}
.kick-btn:hover { background: #e05555; }

.member-rest-badge {
    display: inline-block;
    margin-left: 8px;
    background: #fff3cd;
    color: #856404;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 600;
}

.access-mode-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.access-mode-label {
    font-size: 13px;
    font-weight: 600;
    color: #3C3744;
    white-space: nowrap;
}
.access-mode-btns { display: flex; gap: 6px; }
.mode-btn {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    background: none;
    cursor: pointer;
    transition: all 0.2s;
}
.mode-btn.active {
    background: #3C3744;
    color: white;
    border-color: #3C3744;
}

.access-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #3C3744;
    margin: 14px 0 8px;
}
.access-hint {
    font-size: 11px;
    font-weight: 400;
    color: #aaa;
}
.access-input-row {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}
.access-input-row input {
    flex: 1;
    min-width: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
}
.access-input-row button {
    flex-shrink: 0;
    background: #3C3744;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    cursor: pointer;
}
.access-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 32px;
}
.access-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 4px 10px 4px 12px;
    font-size: 13px;
    color: #3C3744;
}
.access-remove-btn {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
}
.access-remove-btn:hover { color: #FF6B6B; }
.access-empty {
    font-size: 12px;
    color: #bbb;
    padding: 6px 0;
}

/* 다른 파티원 보스 카드 (클릭 불가) */
.boss-card.not-mine {
    cursor: default;
    border-color: #f0f0f0;
    background: #fafafa;
}
.boss-card.not-mine:hover {
    border-color: #f0f0f0;
    background: #fafafa;
}

/* 공통 패널 (bossmoney.css와 동일 구조 재사용) */
.panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}
.panel-header {
    background: #3C3744;
    color: white;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.panel-header.sub-header {
    background: #4a4756;
    font-size: 13px;
    padding: 10px 16px;
}

/* 페이지 타이틀 */
.page-title-area { padding: 20px 0 4px; }
.page-title-area h1 { font-size: 22px; font-weight: 700; color: #3C3744; }
.page-title-area p { font-size: 13px; color: #888; margin-top: 4px; }

/* ================================================
   리셋 타이머 바
   ================================================ */
.reset-timer-bar {
    display: flex;
    gap: 16px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.timer-card {
    flex: 1;
    min-width: 160px;
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    border-top: 3px solid #3C3744;
}
.timer-card.monthly {
    border-top-color: #B4C5E4;
}
.timer-card.today-card {
    border-top-color: #4caf50;
}
.timer-label {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-bottom: 8px;
}
.timer-value {
    font-size: 18px;
    font-weight: 700;
    color: #3C3744;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}
.timer-card.monthly .timer-value { color: #5a7abf; }
.timer-card.today-card .timer-value { color: #388e3c; }
.timer-sub {
    font-size: 11px;
    color: #bbb;
    margin-top: 4px;
}

/* ================================================
   메인 레이아웃
   ================================================ */
.schedule-layout {
    padding-bottom: 40px;
}

/* ================================================
   캐릭터 패널
   ================================================ */
.char-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.char-item {
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.char-item:hover { border-color: #B4C5E4; }
.char-item.active { border-color: #3C3744; background: #eef2f8; }
.char-avatar {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #3C3744, #B4C5E4);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 4px;
}
.char-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.char-info { flex: 1; min-width: 0; }
.char-name { font-size: 13px; font-weight: 700; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.char-sub { font-size: 11px; color: #888; margin-top: 2px; }
.char-delete {
    background: none; border: none; cursor: pointer;
    color: #ccc; font-size: 16px; padding: 2px 4px;
    transition: color 0.2s; flex-shrink: 0;
}
.char-delete:hover { color: #e05050; }

.char-add-btn {
    margin: 0 12px 12px;
    width: calc(100% - 24px);
    padding: 10px;
    background: #f0f4ff;
    border: 2px dashed #B4C5E4;
    border-radius: 10px;
    color: #3C3744;
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    transition: all 0.2s;
}
.char-add-btn:hover { background: #e4ebff; border-color: #3C3744; }

.char-add-input-row {
    display: none;
    margin: 0 12px 12px;
    gap: 6px;
}
.char-add-input-row.visible { display: flex; }
.char-add-input-row input {
    flex: 1;
    min-width: 0;
    width: 0;
    padding: 8px 8px;
    border: 1.5px solid #B4C5E4;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
}
.char-add-input-row button {
    padding: 8px 10px;
    background: #3C3744;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 12px; font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}
.char-add-input-row button.cancel { background: #aaa; }

.reset-all-btn {
    background: none; border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px; padding: 4px 10px;
    font-size: 12px; color: rgba(255,255,255,0.8); cursor: pointer;
    transition: all 0.2s;
}
.reset-all-btn:hover { background: rgba(255,255,255,0.15); }

/* ================================================
   보스 배정 섹션
   ================================================ */
.boss-assign-list {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
}
.assigned-boss-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.assigned-boss-item .boss-img {
    width: 28px; height: 28px;
    border-radius: 6px;
    object-fit: contain;
    background: #f0f0f0;
    flex-shrink: 0;
}
.assigned-boss-item .boss-label {
    font-size: 12px; font-weight: 600; color: #333;
    flex: 1; min-width: 60px;
}
.diff-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}
.diff-badge.small { font-size: 9px; padding: 2px 5px; }

/* 요일 선택 버튼 그룹 */
.day-selector {
    display: flex;
    gap: 3px;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 4px;
}
.day-btn {
    flex: 1;
    padding: 4px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    background: #fdfdfd;
    color: #bbb;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
    font-family: inherit;
}
.day-btn:hover { background: #f0f4ff; border-color: #B4C5E4; color: #3C3744; }
.day-btn.active {
    background: #3C3744;
    color: white;
    border-color: #3C3744;
}

.boss-add-row {
    display: flex;
    gap: 8px;
    padding: 10px 12px 14px;
    align-items: center;
}
.boss-add-row select {
    flex: 1;
    padding: 8px 10px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 12px;
    font-family: inherit;
    outline: none;
    background: white;
    cursor: pointer;
}
.boss-add-row button {
    padding: 8px 14px;
    background: #3C3744;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 12px; font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
}
.boss-add-row button:hover { background: #4a4756; }

/* ================================================
   주간 일정 그리드
   ================================================ */
.weekly-panel {
    overflow: visible;
    border-radius: 16px;
    border: 1.5px solid #e8e4f0;
    box-shadow: none;
}
.weekly-panel > .panel-header {
    border-radius: 14px 14px 0 0;
}

.weekly-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    padding: 12px;
    gap: 8px;
}

.day-column {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    min-height: 120px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.day-column.today {
    border-color: #3C3744;
    background: #eef2f8;
}

.day-header {
    background: #3C3744;
    color: white;
    padding: 8px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.day-column.today .day-header { background: #2a2733; }

.weekly-confirmed-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf4;
    border-bottom: 2px solid #16a34a;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
}
.weekly-confirmed-bar img {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.day-name {
    font-size: 13px;
    font-weight: 700;
}
.today-badge {
    font-size: 9px;
    background: #FF6B6B;
    color: white;
    padding: 1px 5px;
    border-radius: 8px;
    font-weight: 700;
}
.day-count {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
}

.day-bosses {
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.empty-day {
    text-align: center;
    color: #ccc;
    font-size: 11px;
    padding: 16px 0;
}

/* 보스 카드 (주간 뷰) */
.boss-card {
    background: white;
    border-radius: 8px;
    padding: 7px 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1.5px solid #eee;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    text-align: center;
    user-select: none;
}
.boss-card:hover { border-color: #B4C5E4; background: #f5f8ff; }
.boss-card.done {
    background: #f0f7f0;
    border-color: #a5d6a7;
    opacity: 0.7;
}

.boss-card-check {
    position: absolute;
    top: 4px; right: 5px;
    font-size: 11px;
    color: #4caf50;
    font-weight: 700;
}

.boss-card-img {
    width: 30px; height: 30px;
    object-fit: contain;
    border-radius: 6px;
    background: #f5f5f5;
}

.boss-card-info { width: 100%; }
.boss-card-name {
    font-size: 10px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.boss-card.done .boss-card-name { text-decoration: line-through; color: #aaa; }

.boss-card-char {
    font-size: 9px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reset-done-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.reset-done-btn:hover { background: rgba(255,255,255,0.15); }

/* ================================================
   반응형 (모바일)
   ================================================ */

@media (max-width: 768px) {
    .reset-timer-bar {
        gap: 10px;
    }
    .timer-card { min-width: 120px; padding: 12px 14px; }
    .timer-value { font-size: 15px; }

    .weekly-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 8px;
        gap: 6px;
    }

    .schedule-layout { padding-bottom: 24px; }

    .boss-card-img { width: 24px; height: 24px; }
    .boss-card-name { font-size: 9px; }
}

@media (max-width: 480px) {
    .weekly-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Monthly Calendar ===== */
.monthly-panel {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #e8e4f0;
    overflow: hidden;
    margin-top: 28px;
    margin-bottom: 40px;
}

.cal-nav-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 13px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.cal-nav-btn:hover {
    background: rgba(255,255,255,0.3);
}

.rest-toggle-btn {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1.5px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.rest-toggle-btn.active {
    background: rgba(255,255,255,0.25);
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}

.cal-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(90px, 1fr));
    gap: 1px;
    background: #e8e4f0;
    border-top: 1px solid #e8e4f0;
    min-width: 630px;
}

.cal-header-cell {
    background: #f5f3fa;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    padding: 8px 4px;
}

.cal-cell {
    background: #fff;
    min-height: 80px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    cursor: default;
    transition: background 0.15s;
}

.cal-cell.empty {
    background: #faf9fc;
}

.cal-cell.cal-today {
    background: #f0eeff;
}

.cal-cell.cal-thursday {
    border-top: 2px solid #a78bfa;
}

.cal-cell.cal-firstday {
    border-top: 2px solid #fb923c;
}

.cal-date-num {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    line-height: 1;
    display: flex;
    align-items: center;
    width: 100%;
}

.cal-cell.cal-today .cal-date-num {
    color: #7c3aed;
}

.cal-sun .cal-date-num { color: #ef4444; }
.cal-sat .cal-date-num { color: #3b82f6; }

.cal-reset-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.4;
    margin-bottom: 2px;
    margin-left: 4px;
}

.cal-reset-badge.weekly {
    background: #ede9fe;
    color: #7c3aed;
}

.cal-reset-badge.monthly {
    background: #ffedd5;
    color: #c2410c;
}

.cal-boss-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-top: 2px;
}

.cal-boss-icon {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
    opacity: 0.35;
    transition: opacity 0.15s;
}

.cal-boss-icon.done {
    opacity: 1;
}

.cal-boss-more {
    font-size: 9px;
    color: #999;
    font-weight: 700;
    line-height: 18px;
}

.cal-count {
    font-size: 10px;
    color: #888;
    margin-top: auto;
    font-weight: 600;
}

.cal-confirm-btn {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border: none;
    background: #7c3aed;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1.4;
    transition: background 0.15s;
    vertical-align: middle;
    margin-left: 4px;
}
.cal-confirm-btn:hover { background: #6d28d9; }

.cal-detail-btn {
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border: 1px solid #B4C5E4;
    background: #f0f4ff;
    color: #4a6fa5;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1.4;
    transition: all 0.15s;
    vertical-align: middle;
    margin-left: auto;
}
.cal-detail-btn:hover {
    background: #3C3744;
    color: #fff;
    border-color: #3C3744;
}

.cal-unconfirm-btn {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border: none;
    background: #e53e3e;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1.4;
    transition: background 0.15s;
    vertical-align: middle;
    margin-left: 4px;
}
.cal-unconfirm-btn:hover { background: #c53030; }

.cal-add-btn {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    background: #2f855a;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 4px;
}
.cal-add-btn:hover { background: #276749; }

.cal-unconfirm-inline-btn {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    background: #fc8181;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 4px;
}
.cal-unconfirm-inline-btn:hover { background: #c53030; }

.cal-cell.cal-confirmed {
    background: #f0fdf4;
}

.cal-confirmed-badge {
    font-size: 11px;
    font-weight: 800;
    color: #16a34a;
    background: #dcfce7;
    border-radius: 6px;
    padding: 3px 8px;
    text-align: center;
    margin-top: 2px;
}

.cal-confirmed-badge-mobile {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    padding: 2px 4px;
}

.cal-avail-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 3px;
}

.cal-avail-item {
    font-size: 10px;
    color: #666;
    background: #f5f3fa;
    border-radius: 4px;
    padding: 2px 5px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
}

.cal-avail-item.mine {
    background: #ede9fe;
    color: #6d28d9;
}

.cal-avail-text {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
}

.cal-avail-nick {
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cal-avail-sep {
    flex-shrink: 0;
    margin: 0 1px;
}

.cal-avail-time {
    flex-shrink: 0;
    font-weight: 700;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cal-avail-nick { white-space: nowrap; }
.cal-avail-sep  { flex-shrink: 0; }
.cal-avail-time { flex-shrink: 0; }

.cal-avail-remove {
    cursor: pointer;
    font-size: 9px;
    opacity: 0.5;
    line-height: 1;
    flex-shrink: 0;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.15s;
}
.cal-avail-remove:hover {
    opacity: 1;
    background: #ef9a9a;
    color: #b71c1c;
}

/* ===== 가용 시간 팝업 ===== */
.time-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}

.time-popup {
    background: #fff;
    border-radius: 16px;
    width: 320px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.time-popup-header {
    background: #3C3744;
    color: #fff;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.time-popup-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}
.time-popup-close:hover { color: #fff; }

.time-popup-list {
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.time-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
    border: 1.5px solid transparent;
}
.time-option:hover {
    background: #f5f3fa;
}
.time-option.selected {
    background: #ede9fe;
    border-color: #7c3aed;
}

.time-label {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}
.time-option.selected .time-label {
    color: #6d28d9;
}

.time-check {
    font-size: 12px;
    color: #7c3aed;
    font-weight: 700;
}

.time-deselect-wrap {
    padding: 10px 10px 6px;
    border-top: 1px solid #f0f0f0;
    margin-top: 4px;
    flex-shrink: 0;
}

.time-deselect-btn {
    width: 100%;
    padding: 10px;
    border: 1.5px solid #e0d9f5;
    background: #fff;
    color: #888;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.time-deselect-btn:hover {
    background: #fff5f5;
    border-color: #ffb3b3;
    color: #e53e3e;
}

/* ===== 보스 선택 팝업 ===== */
.boss-sel-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9100;
    align-items: center;
    justify-content: center;
}

.boss-sel-popup {
    background: #fff;
    border-radius: 16px;
    width: min(640px, 95vw);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.diff-sel-popup {
    width: min(400px, 90vw);
}

.boss-sel-header {
    background: #3C3744;
    color: #fff;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.boss-sel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 16px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.boss-sel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 10px;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.15s;
}
.boss-sel-item:hover {
    background: #f5f3fa;
    border-color: #c4b5fd;
}
.boss-sel-item img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
}
.boss-sel-item span {
    font-size: 11px;
    font-weight: 700;
    color: #444;
    text-align: center;
    line-height: 1.3;
    word-break: keep-all;
}

.diff-sel-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    justify-content: center;
}

.diff-sel-btn {
    padding: 12px 22px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
}
.diff-sel-btn:hover { opacity: 0.85; }

.diff-sel-btn.diff-easy    { background: #e8f5e9; color: #2e7d32; }
.diff-sel-btn.diff-normal  { background: #e3f2fd; color: #1565c0; }
.diff-sel-btn.diff-hard    { background: #fce4ec; color: #b71c1c; }
.diff-sel-btn.diff-chaos   { background: #f3e5f5; color: #6a1b9a; }
.diff-sel-btn.diff-extreme { background: #fff8e1; color: #e65100; }

@media (max-width: 768px) {
    .cal-cell {
        min-height: 60px;
        padding: 4px;
    }
    .cal-boss-icon,
    .cal-boss-icons,
    .cal-boss-more {
        display: none !important;
    }
    .boss-sel-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .cal-avail-text {
        display: flex;
        align-items: center;
        overflow: hidden;
        white-space: nowrap;
    }
    .cal-avail-nick { order: 3; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
    .cal-avail-sep  { order: 2; flex-shrink: 0; }
    .cal-avail-time { order: 1; flex-shrink: 0; }
}

@media (max-width: 480px) {
    .cal-cell {
        min-height: 48px;
        padding: 3px;
    }

    .cal-header-cell {
        font-size: 10px;
        padding: 6px 2px;
    }
    .cal-date-num {
        font-size: 11px;
    }
}

/* ================================================
   탭 네비게이션
   ================================================ */
.bs-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e8e4f0;
    margin-bottom: 20px;
}

.bs-tab-btn {
    padding: 12px 28px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 15px;
    font-weight: 700;
    color: #aaa;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.bs-tab-btn.active {
    color: #3C3744;
    border-bottom-color: #3C3744;
}

.bs-tab-btn:hover:not(.active) { color: #666; }

/* ================================================
   개인 일정 — 메소 바 / 빈 화면
   ================================================ */
.ps-meso-bar {
    background: linear-gradient(135deg, #3C3744, #5a5268);
    color: #fff;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.3px;
    display: none !important;
}
.ps-meso-bar strong { font-size: 18px; }

.ps-empty {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
}

.ps-no-boss {
    color: #bbb;
    font-size: 13px;
    padding: 16px 4px;
}

/* ================================================
   개인 일정 — 캐릭터 카드
   ================================================ */
.ps-char-card {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(60,55,68,0.08);
    overflow: hidden;
}

.ps-char-head {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #f8f7fc;
    border-bottom: 1px solid #eee;
    gap: 12px;
    flex-wrap: wrap;
}

.ps-char-name {
    font-size: 15px;
    font-weight: 700;
    color: #3C3744;
    flex: 1;
    min-width: 80px;
}

.ps-char-meso { display: flex; gap: 8px; align-items: center; }
.ps-m-weekly  { font-size: 13px; font-weight: 600; color: #3C3744; }
.ps-m-sep     { font-size: 12px; color: #ccc; }
.ps-m-monthly { font-size: 13px; font-weight: 600; color: #8B5CF6; }
.ps-char-actions { display: flex; gap: 8px; }


.ps-btn-del {
    padding: 6px 14px;
    background: #ffe4e4;
    color: #e53e3e;
    border: none;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}
.ps-btn-del:hover { background: #fcc; }

/* ================================================
   개인 일정 — 보스 그리드
   ================================================ */
.ps-boss-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 18px;
    min-height: 60px;
    align-items: flex-start;
}

.ps-boss-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70px;
    padding: 8px 4px 6px;
    border-radius: 10px;
    border: 1.5px solid #eee;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: #fff;
    user-select: none;
    text-align: center;
}
.ps-boss-item:hover         { background: #f5f3fa; border-color: #c8bfe8; }
.ps-boss-item.ps-done       { background: #f0fdf4; border-color: #86efac; }

.ps-boss-img  { width: 42px; height: 42px; object-fit: contain; }

.ps-boss-badge {
    position: absolute;
    top: 4px; right: 4px;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
}
.ps-boss-badge.weekly  { background: #e0edff; color: #3B82F6; }
.ps-boss-badge.monthly { background: #f3e8ff; color: #8B5CF6; }

.ps-boss-name  { font-size: 11px; font-weight: 600; color: #333; margin-top: 4px; }
.ps-boss-diff  { font-size: 10px; color: #999; margin-top: 1px; }
.ps-boss-meso  { font-size: 10px; font-weight: 700; color: #3C3744; margin-top: 2px; }

.ps-done-overlay {
    position: absolute;
    inset: 0;
    border-radius: 9px;
    background: rgba(134,239,172,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #16a34a;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
}
.ps-boss-item.ps-done .ps-done-overlay { opacity: 1; }

/* ================================================
   개인 일정 — 캐릭터 추가 버튼
   ================================================ */
.ps-add-char-btn {
    width: 100%;
    padding: 14px;
    background: #f8f7fc;
    border: 2px dashed #c8bfe8;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #8B5CF6;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    margin-top: 4px;
}
.ps-add-char-btn:hover { background: #f0ebff; border-color: #8B5CF6; }

/* ================================================
   개인 일정 — 보스 선택기 팝업
   ================================================ */
.pbs-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2500;
    align-items: center;
    justify-content: center;
}

.pbs-popup {
    background: #fff;
    border-radius: 16px;
    width: 94%;
    max-width: 680px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.22);
    overflow: hidden;
}

.pbs-header {
    background: #3C3744;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.pbs-header span   { color: #fff; font-size: 16px; font-weight: 700; }
.pbs-header button { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }


/* 주간 그리드 안내 문구 */
.ps-grid-empty {
    padding: 32px 16px;
    text-align: center;
    color: #bbb;
    font-size: 13px;
}

.pbs-footer {
    padding: 14px 16px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.pbs-footer button {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
}
.pbs-btn-cancel  { background: #f5f5f5; color: #888; }
.pbs-btn-confirm { background: #3C3744; color: #fff; }
.pbs-btn-confirm:hover { opacity: 0.88; }

/* ─── 메모 팝업 ─────────────────────────── */
.ps-memo-popup {
    max-width: 400px;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
}
.ps-memo-list { padding-top: 12px; }
.ps-memo-body {
    padding: 12px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ps-memo-field {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ps-memo-field label {
    min-width: 36px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}
.ps-memo-hour-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ps-memo-hour-input {
    width: 72px;
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}
.ps-memo-hour-unit {
    font-size: 13px;
    color: #666;
}
.ps-memo-text-input {
    flex: 1;
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
.ps-memo-text-input:focus,
.ps-memo-hour-input:focus {
    outline: none;
    border-color: #3B82F6;
}

/* 주간 그리드 날짜 표시 */
.ps-week-date {
    font-size: 10px;
    color: #aaa;
    font-weight: 400;
    margin-left: 2px;
}

/* 주간 그리드 메모 */
.ps-weekly-memo {
    margin: 4px 6px 2px;
    padding: 4px 8px;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.4;
    cursor: pointer;
    word-break: break-all;
}
.ps-weekly-memo:hover {
    background: #bbdefb;
}

/* 달력 셀 메모 배지 */
.ps-memo-badge {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.3;
    color: #1565c0;
    background: #e3f2fd;
    border-radius: 4px;
    padding: 1px 3px 1px 5px;
    max-width: 100%;
    overflow: hidden;
}
.ps-memo-badge-text {
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ps-memo-badge-hour {
    flex-shrink: 0;
    font-weight: 700;
    margin-left: 2px;
}
.ps-memo-badge-sep {
    font-size: 4px;
    color: rgba(21, 101, 192, 0.4);
    padding: 0 3px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* 메모 X 삭제 버튼 (배지 & 카드 & 팝업 목록 공통) */
.ps-memo-del-btn {
    margin-left: auto;
    flex-shrink: 0;
    background: none;
    border: none;
    color: #888;
    font-size: 12px;
    line-height: 1;
    padding: 0 2px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.15s, color 0.15s;
}
.ps-memo-del-btn:hover {
    background: #ef9a9a;
    color: #b71c1c;
}

/* 팝업 내 기존 메모 목록 */
.ps-memo-list {
    max-height: 180px;
    overflow-y: auto;
    padding: 0 16px;
}
.ps-memo-list:empty { display: none; }
.ps-memo-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f0f4ff;
    margin-bottom: 6px;
}
.ps-memo-list-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
}
.ps-memo-list-hour {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: #3B82F6;
    background: #dbeafe;
    border-radius: 4px;
    padding: 1px 6px;
}
.ps-memo-list-text {
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ps-memo-list .ps-memo-del-btn {
    font-size: 14px;
    padding: 2px 5px;
}

/* 주간 그리드 메모 추가 버튼 */
.ps-memo-add-btn {
    margin-top: 4px;
    font-size: 11px;
    color: #3B82F6;
    cursor: pointer;
    text-align: center;
    padding: 3px 0;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.15s;
}
.ps-memo-add-btn:hover { opacity: 1; }

@media (max-width: 600px) {
    .bs-tab-btn { padding: 10px 18px; font-size: 14px; }
    .ps-char-head { gap: 8px; }
    .ps-char-meso { flex-direction: column; gap: 2px; align-items: flex-start; }
    .ps-m-sep { display: none; }
    .pbs-grid { grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); gap: 8px; }
    .ps-boss-item { width: 62px; }
}
