@charset "UTF-8";

/* Must beat `html body .App-page` — that rule used to force display:block
   and the calendar stayed on screen after Close. */
html body .App-page.wp-archive-page,
html body .wp-archive-page {
    display: none !important;
}
html body .App-container.wp-archive-open > .wp-archive-page,
html body .App-page.wp-archive-page.is-open,
html body .wp-archive-page.is-open {
    display: block !important;
}
.App-container.wp-archive-open > *:not(.App-header):not(.wp-archive-page) {
    display: none !important;
}

.wp-cal {
    padding: 8px 2px 10px;
    background: transparent;
}
.wp-cal__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 12px;
    padding: 4px;
    background: var(--wp-win-surface-2, #f3f5f8);
    border: 1px solid var(--wp-win-border, rgba(15,23,42,.08));
    border-radius: 999px;
}
.wp-cal__title {
    flex: 1;
    margin: 0;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--wp-win-ink, #14181f);
}
.wp-cal__nav {
    width: 36px; height: 36px;
    flex-shrink: 0;
    border-radius: 999px;
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    color: var(--wp-win-ink, #14181f);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease;
}
.wp-cal__nav:hover { background: var(--wp-win-accent-soft, #dcfce7); color: var(--wp-win-accent-dark, #12833c); }
.wp-cal__nav:disabled { opacity: .35; cursor: default; background: transparent; color: var(--wp-win-muted, #69758e); }

.wp-cal__week,
.wp-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.wp-cal__week { margin-bottom: 6px; }
.wp-cal__dow {
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--text-button2, #626568);
    padding: 4px 0;
}
.wp-cal__day {
    position: relative;
    height: 46px;
    min-height: 40px;
    aspect-ratio: auto;
    border-radius: 12px;
    border: 0;
    background: var(--wp-win-surface-2, #f3f5f8);
    color: var(--wp-win-ink, #14181f);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    padding: 0;
    transition: background .14s ease, color .14s ease, box-shadow .14s ease;
}
.wp-cal__day:hover { background: var(--wp-win-accent-soft, #dcfce7); color: var(--wp-win-accent-dark, #12833c); }
.wp-cal__day.is-empty { background: transparent; cursor: default; pointer-events: none; }
.wp-cal__day.is-future,
.wp-cal__day.is-disabled {
    cursor: default;
    pointer-events: none;
    background: transparent;
    color: #c5cad3;
    opacity: .45;
}
.wp-cal__day.is-future:hover,
.wp-cal__day.is-disabled:hover { background: transparent; }
.wp-cal__day.is-today {
    box-shadow: inset 0 0 0 2px var(--wp-win-accent, #16a34a);
    background: var(--wp-win-surface-2, #f3f5f8);
}
.wp-cal__day.is-playing {
    background: var(--wp-win-accent, #16a34a) !important;
    color: #fff !important;
    box-shadow: 0 8px 16px -8px rgba(22,163,74,.7);
}
.wp-cal__day.is-won {
    box-shadow: inset 0 0 0 1px var(--wp-win-accent, #16a34a);
}
.wp-cal__day.is-won:hover { background: var(--wp-win-accent-soft, #dcfce7); }
.wp-cal__day.is-lost {
    box-shadow: inset 0 0 0 1px rgba(148,163,175,.7);
}
.wp-cal__mark {
    position: absolute;
    right: 4px; bottom: 3px;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
}
.wp-cal__legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 14px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-button2, #626568);
}
.wp-cal__dot {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: -1px;
}
.wp-cal__dot--won { background: var(--wp-win-accent, #16a34a); }
.wp-cal__dot--lost { background: #94a3b8; }
.wp-cal__dot--today { background: transparent; box-shadow: inset 0 0 0 2px var(--wp-win-accent, #16a34a); }
.wp-archive__stats {
    text-align: center;
    margin-top: 12px;
    font-weight: 800;
    font-size: 13px;
    color: var(--wp-win-muted, #55606f);
}

html.wp-archive-play .mode-button__container,
body.wp-archive-play .mode-button__container { display: none !important; }

body.dark .wp-cal__head,
body.dark .wp-cal__day {
    background: var(--wp-win-surface-2, #1d232c);
    color: var(--wp-win-ink, #e6e8ec);
}
body.dark .wp-cal__day.is-future,
body.dark .wp-cal__day.is-disabled { background: transparent; color: #5b6578; }
body.dark .wp-cal__nav { background: transparent; color: var(--wp-win-ink, #e6e8ec); }
body.dark .wp-cal__title { color: var(--wp-win-ink, #e6e8ec); }

@media (max-width: 520px) {
    .wp-cal__day { height: 40px; min-height: 36px; font-size: 14px; border-radius: 10px; }
    .wp-cal__title { font-size: 14px; }
}
