.motchill-calendar-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 19px;
    padding: 9px 12px;
    background: #181818;
    color: #c2c2c2;
    font-size: 12px;
}

.motchill-calendar-breadcrumb a { color: #da966e; }
.motchill-calendar-breadcrumb a:hover { color: #f5b88c; }

body:has(.motchill-calendar) #page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

body:has(.motchill-calendar) #content {
    flex: 1 0 auto;
    width: 100%;
}

body:has(.motchill-calendar) #footer { margin-top: auto; }

.container.motchill-calendar {
    padding-top: 24px;
    padding-bottom: 42px;
    color: #c2c2c2;
}

.motchill-calendar-heading {
    margin-bottom: 18px;
    border-bottom: 1px dashed #555;
    padding-bottom: 10px;
}

.motchill-calendar-heading h1 {
    margin: 0;
    color: #da966e;
    font-size: 23px;
    font-weight: 400;
    text-transform: uppercase;
}

.motchill-calendar-heading h1 .fa {
    margin-right: 9px;
    font-size: 21px;
}

.motchill-calendar-heading p {
    margin: 7px 0 0;
    color: #999;
    font-size: 12px;
}

.motchill-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 23px;
}

.motchill-calendar-day {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 64px;
    padding: 8px 10px;
    background: #181818;
    border: 1px solid #303030;
    border-bottom: 2px solid #303030;
    color: #c2c2c2;
    text-decoration: none;
}

.motchill-calendar-day:hover,
.motchill-calendar-day.active {
    background: #24201e;
    border-color: #a3765d;
    border-bottom-color: #c58560;
    color: #fff;
    text-decoration: none;
}

.motchill-calendar-day span {
    color: #999;
    font-size: 12px;
}

.motchill-calendar-day strong {
    margin-top: 3px;
    color: #f1f1f1;
    font-size: 15px;
    white-space: nowrap;
}

.motchill-calendar-day.active strong { color: #da966e; }

.motchill-calendar-datebar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    border-bottom: 1px dashed #484848;
    padding-bottom: 8px;
}

.motchill-calendar-datebar h2 {
    margin: 0;
    color: #da966e;
    font-size: 17px;
    font-weight: 400;
    text-transform: uppercase;
}

.motchill-calendar-datebar span { color: #999; font-size: 12px; }

.motchill-calendar-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.motchill-calendar-entry {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 92px;
    padding: 8px;
    background: #181818;
    border: 1px solid #292929;
    transition: background-color .15s, border-color .15s;
}

.motchill-calendar-entry:hover {
    background: #202020;
    border-color: #8d664e;
}

.motchill-calendar-poster {
    display: block;
    flex: 0 0 54px;
    width: 54px;
    height: 76px;
    overflow: hidden;
    background: #101010;
}

.motchill-calendar-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.motchill-calendar-info { flex: 1; min-width: 0; }

.motchill-calendar-title {
    display: -webkit-box;
    overflow: hidden;
    color: #f0f0f0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.motchill-calendar-title:hover { color: #da966e; }

.motchill-calendar-episode {
    margin-top: 7px;
    color: #aaa;
    font-size: 12px;
}

.motchill-calendar-episode span { color: #777; padding: 0 2px; }
.motchill-calendar-episode time { color: #c58560; }
.motchill-calendar-watch { display: none; }

.motchill-calendar-empty {
    padding: 40px 16px;
    background: #181818;
    text-align: center;
    color: #aaa;
}

.motchill-calendar-empty .fa { font-size: 30px; color: #c58560; }
.motchill-calendar-empty a { color: #da966e; }

@media (max-width: 900px) {
    .motchill-calendar-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .motchill-calendar-day { padding-left: 7px; padding-right: 7px; }
    .motchill-calendar-day strong { font-size: 13px; }
}

@media (max-width: 650px) {
    .container.motchill-calendar { padding: 16px 8px 30px; }
    .motchill-calendar-breadcrumb { margin-bottom: 15px; }
    .motchill-calendar-heading h1 { font-size: 20px; }
    .motchill-calendar-days {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 3px;
        margin-bottom: 22px;
    }
    .motchill-calendar-day { min-width: 0; min-height: 58px; padding: 6px 1px; align-items: center; text-align: center; }
    .motchill-calendar-day span { font-size: 10px; }
    .motchill-calendar-day strong { font-size: 10px; }
    .motchill-calendar-datebar h2 { font-size: 15px; }
    .motchill-calendar-list { grid-template-columns: 1fr; gap: 9px; }
    .motchill-calendar-entry { min-height: 96px; gap: 12px; }
    .motchill-calendar-poster { flex-basis: 56px; width: 56px; height: 78px; }
    .motchill-calendar-title { font-size: 14px; }
}
