#fullEventCalendar, #fullEventCalendar *, .fc-theme-standard td, .fc-theme-standard th, .fc-theme-standard .fc-scrollgrid, .fc-theme-standard .fc-list, .fc-theme-standard .fc-list-day {
    border-color: rgba(255, 255, 255, 0.04) !important; border-width: 1px !important;
}
#fullEventCalendar { border: none !important; background: transparent !important; font-family: inherit; }

.fc-scrollgrid { border-radius: 0.75rem !important; overflow: hidden !important; border-style: hidden !important; }
.fc-scrollgrid-section-header > th { border-top-left-radius: 0.75rem !important; border-top-right-radius: 0.75rem !important; }

.fc-scrollgrid-section-header th, .fc-scrollgrid-section-header td, .fc-col-header-cell, .fc-list-day th {
    background-color: #ff7424 !important; border: none !important; transition: all 0.3s ease !important;
}
.fc-col-header-cell-cushion {
    color: #ffffff !important; font-size: 0.8125rem !important; padding: 1rem !important;
    font-weight: 500 !important; text-decoration: none !important;
    text-transform: capitalize; display: block !important; -webkit-font-smoothing: antialiased;
    transition: all 0.3s ease !important;
}

.highlight-active-day { background-color: #ff7424 !important; box-shadow: inset 0 -5px 0 #ffffff !important; }
.highlight-active-day .fc-col-header-cell-cushion { color: #ffffff !important; text-shadow: 0 0 10px rgba(255, 255, 255, 0.8) !important; }

.fade-inactive-day { background-color: rgba(255, 116, 36, 0.15) !important; }
.fade-inactive-day .fc-col-header-cell-cushion { color: rgba(255, 255, 255, 0.25) !important; }

.fc-daygrid-day-frame { background: transparent !important; min-height: 120px !important; padding: 6px 4px !important; }
.fc-day-today { background-color: transparent !important; }
.fc-day-today .fc-daygrid-day-frame { background-color: transparent !important; }
.fc-daygrid-day-top { display: none !important; }

.fc-daygrid-event-harness { transition: transform 0.2s ease, z-index 0.2s; }
.fc-daygrid-event-harness:hover { z-index: 100 !important; }
.fc-daygrid-event-harness:has(.is-faded) { pointer-events: none !important; z-index: 0 !important; }

.fc-daygrid-event {
    background-color: transparent !important; border: none !important; border-radius: 0 !important;
    margin: 5px 6px !important; padding-bottom: 6px !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3) !important;
}

.fc-custom-event-content {
    background-color: #15151a !important; display: flex !important; flex-direction: column !important;
    padding: 8px 10px !important; border-radius: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    box-sizing: border-box; transition: all 0.2s ease !important;
    text-decoration: none !important; color: inherit;
}

.fc-custom-event-content:hover {
    background-color: #1c1c24 !important;
    border-color: rgba(255, 116, 36, 0.3) !important;
    box-shadow: inset 4px 0 0 0 #ff7424 !important;
}
.fc-custom-event-content:hover .fc-custom-title {
    color: #ff7424 !important;
}

.fc-custom-event-content.has-url { cursor: pointer; position: relative; }
.fc-custom-event-content.has-url:hover {
    transform: translateY(-2px) !important;
    box-shadow: inset 4px 0 0 0 #ff7424, 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

.fc-custom-time {
    display: flex; align-items: flex-start; gap: 5px; margin-bottom: 4px !important;
    font-size: 0.75rem; color: rgba(255, 255, 255, 0.6) !important; font-weight: 500;
    line-height: 1.2; -webkit-font-smoothing: antialiased;
}
.fc-custom-time i { font-size: 0.75rem; opacity: 0.7; margin-top: 1px; flex-shrink: 0; }
.time-text { word-break: break-word; white-space: normal; }

.fc-custom-title {
    margin: 0 !important; font-weight: 700; font-size: 0.8rem; color: #ffffff; line-height: 1.3;
    white-space: normal !important; transition: color 0.2s ease; -webkit-font-smoothing: antialiased;
}

@media (min-width: 1024px) and (max-width: 1300px) {
    .fc-custom-event-content { padding: 6px 8px !important; }
    .fc-custom-time { font-size: 0.65rem !important; gap: 4px; flex-wrap: wrap; }
    .fc-custom-time i { font-size: 0.65rem; }
    .fc-custom-title { font-size: 0.70rem !important; }
    .fc-daygrid-event { margin: 4px 4px !important; }
}

.filter-tag { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.7); padding: 8px 18px; border-radius: 50px; font-size: 0.85rem !important; font-weight: 500; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; }
.filter-tag:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.filter-tag.active { background: #ff7424 !important; color: #ffffff !important; border-color: #ff7424 !important; box-shadow: 0 4px 12px rgba(255, 116, 36, 0.3); }
.is-faded { opacity: 0.15 !important; filter: grayscale(1) blur(0.5px) !important; pointer-events: none !important; }

.fc-list { border-radius: 0.75rem !important; background: transparent !important; overflow: hidden !important; border: 1px solid rgba(255, 255, 255, 0.04) !important; }
.fc-list-table { border-radius: 0.75rem !important; overflow: hidden !important; }
.fc-list-day th { background-color: #ff7424 !important; border: none !important; }
.fc-list-day-cushion { background-color: transparent !important; padding: 0.75rem 1rem !important; display: flex !important; justify-content: space-between !important; align-items: center !important; }
.fc-list-day-text, .fc-list-day-side-text { color: #ffffff !important; font-size: 0.8125rem !important; font-weight: 600 !important; text-decoration: none !important; }
.fc-list-event td { background: transparent !important; padding: 0.5rem !important; color: #ffffff !important; border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; }
.fc-list-event .fc-custom-event-content { flex-direction: column !important; align-items: flex-start !important; padding: 12px 15px !important; background-color: transparent !important; border: none !important; }
.fc-list-event .fc-custom-time { width: auto !important; margin-bottom: 8px !important; font-size: 0.8rem !important; color: rgba(255, 255, 255, 0.7) !important; }
.fc-list-event .fc-custom-title { font-size: 0.9rem !important; -webkit-line-clamp: unset !important; }
.fc-list-event:hover td { background-color: rgba(255, 255, 255, 0.02) !important; cursor: pointer; }
.fc-list-event:hover .fc-custom-title { color: #ff7424 !important; }

.custom-cal-tabs { display: flex !important; gap: 12px !important; }
.custom-cal-tabs .btn.btn-primary { background-color: rgba(255, 116, 36, 0.05) !important; border: 1px solid rgba(255, 116, 36, 0.6) !important; color: #f5f5f5 !important; border-radius: 0.5rem !important; padding: 0.5rem 1.4rem !important; font-weight: 600 !important; box-shadow: none !important; transition: all 0.3s ease !important; }
.custom-cal-tabs .btn.btn-primary:hover { background-color: rgba(255, 116, 36, 0.2) !important; color: #ffffff !important; }
.custom-cal-tabs .btn.btn-primary.active { background-color: #ff7424 !important; color: #ffffff !important; border: 1px solid #ff7424 !important; box-shadow: 0 4px 15px rgba(255, 116, 36, 0.5) !important; opacity: 1 !important; }
@media (max-width: 1023px) { .custom-cal-tabs { display: none !important; } }
.fc-list-event .fc-list-event-time { vertical-align: middle !important; padding-left: 15px !important; width: 110px !important; }
.custom-agenda-time { display: flex !important; align-items: center !important; gap: 8px !important; color: rgba(255, 255, 255, 0.7) !important; font-size: 0.8125rem !important; font-weight: 500 !important; white-space: nowrap !important; }
.custom-agenda-time i { color: #ffffff !important; font-size: 0.9rem !important; opacity: 0.85; }

.fc-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px !important;
}
.event-badge {
    font-size: 0.60rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    line-height: 1;
    text-transform: uppercase;
}
.badge-farm { background-color: rgba(46, 204, 113, 0.15); border: 1px solid rgba(46, 204, 113, 0.4); color: #2ecc71; }
.badge-pvm { background-color: rgba(211, 84, 0, 0.15); border: 1px solid rgba(211, 84, 0, 0.4); color: #e67e22; }
.badge-pvp { background-color: rgba(231, 76, 60, 0.15); border: 1px solid rgba(231, 76, 60, 0.4); color: #e74c3c; }
.badge-prize { background-color: rgba(241, 196, 15, 0.15); border: 1px solid rgba(241, 196, 15, 0.4); color: #f1c40f; }
.badge-default { background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #ccc; }