.rk-monthly-calendar {
    margin: 0 auto 24px;
    max-width: 920px;
    color: #17324d;
    font-family: inherit;
    container-type: inline-size;
}

/*
 * The Luxeritas child theme gives every page h2 a gold framed treatment.
 * This is a utility page, so keep both the calendar title and its explanatory
 * h2s visually quiet.  The selector is limited to the published calendar
 * page (ID 9200) and cannot affect article headings or the HOME screen.
 */
body.page-id-9200 .rk-monthly-calendar__header h2,
body.page-id-9200 h2.wp-block-heading,
body.page-id-9200 h3.wp-block-heading,
body.page-id-9200 .rk-monthly-calendar__detail-head h3,
body.page-id-9200 .rk-monthly-calendar__modal-title {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* 固定ページの旧タイトルは使わず、カレンダー枠内のH1だけを表示する。 */
body.page-id-9200 #main .entry-title {
    display: none !important;
}

/* The hidden theme title lives in this wrapper; hiding only its H1 leaves the
 * wrapper's fixed vertical space behind. */
body.page-id-9200 #main .entry-header {
    display: none !important;
}

/* テーマ側のページ題字はclass名が一定でないため、枠内のH1以外を除外する。 */
body.page-id-9200 #main h1:not(.rk-monthly-calendar__eyebrow) {
    display: none !important;
}

/* Remove the blank area left by the hidden theme title and a standalone shortcode block. */
body.page-id-9200 #main #mainEntity,
body.page-id-9200 #main .post,
body.page-id-9200 #main .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-id-9200 #main .entry-content > p:empty,
body.page-id-9200 #main .entry-content > p:has(> br:only-child) {
    display: none !important;
}

body.page-id-9200 .rk-monthly-calendar__header h2::before,
body.page-id-9200 .rk-monthly-calendar__header h2::after,
body.page-id-9200 h2.wp-block-heading::before,
body.page-id-9200 h2.wp-block-heading::after,
body.page-id-9200 h3.wp-block-heading::before,
body.page-id-9200 h3.wp-block-heading::after,
body.page-id-9200 .rk-monthly-calendar__detail-head h3::before,
body.page-id-9200 .rk-monthly-calendar__detail-head h3::after,
body.page-id-9200 .rk-monthly-calendar__modal-title::before,
body.page-id-9200 .rk-monthly-calendar__modal-title::after {
    display: none !important;
    content: none !important;
}

body.page-id-9200 .rk-monthly-calendar__header h2 {
    margin: 3px 0 0 !important;
    padding: 0 !important;
    color: #0d365a !important;
    font-size: 16px !important;
    line-height: 1.35;
}

body.page-id-9200 h2.wp-block-heading {
    margin: 22px 0 8px !important;
    padding: 0 0 5px !important;
    border-bottom: 1px solid #9bbad1 !important;
    color: #0d365a !important;
    font-size: 16px !important;
    line-height: 1.4;
}

body.page-id-9200 h3.wp-block-heading {
    margin: 16px 0 6px !important;
    padding: 0 0 0 7px !important;
    border-left: 3px solid #087dbd !important;
    color: #17324d !important;
    font-size: 14px !important;
    line-height: 1.45;
}

body.page-id-9200 .rk-monthly-calendar__detail-head h3 {
    margin: 0 !important;
    padding: 0 !important;
    color: #0d365a !important;
    font-size: 14px;
    line-height: 1.35;
}

body.page-id-9200 .rk-monthly-calendar__modal-title {
    margin: 0 !important;
    padding: 0 !important;
    color: #0d365a !important;
    font-size: 14px;
    line-height: 1.35;
}

/* Keep the publication date, but remove the theme's clock pictogram. */
body.page-id-9200 p.meta > .material-icons { display: none !important; }

.rk-monthly-calendar *,
.rk-monthly-calendar *::before,
.rk-monthly-calendar *::after { box-sizing: border-box; }

.rk-monthly-calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid #c9dded;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(135deg, #f7fbff, #eef7ff);
}

.rk-monthly-calendar__eyebrow,
.rk-monthly-calendar__header h2,
.rk-monthly-calendar__description,
.rk-monthly-calendar__note { margin: 0; }
.rk-monthly-calendar__eyebrow { color: #087dbd; font-size: 12px; font-weight: 700; line-height: 1.4; }
.rk-monthly-calendar__header h2 { margin-top: 3px; color: #0d365a; font-size: 16px; line-height: 1.35; }
.rk-monthly-calendar__navigation { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.rk-monthly-calendar__month-button,
.rk-monthly-calendar__today {
    min-height: 34px;
    border: 1px solid #afcde6;
    border-radius: 7px;
    background: #fff;
    color: #135987;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.rk-monthly-calendar__month-button { width: 34px; padding: 0; font-size: 26px; line-height: 1; }
.rk-monthly-calendar__today { padding: 5px 10px; }
.rk-monthly-calendar__month-button:hover:not(:disabled),
.rk-monthly-calendar__today:hover { border-color: #087dbd; background: #eaf6ff; }
.rk-monthly-calendar__month-button:disabled { opacity: .42; cursor: not-allowed; }
.rk-monthly-calendar__description { padding: 12px 20px 9px; border: 1px solid #c9dded; border-bottom: 0; background: #fff; font-size: 13px; line-height: 1.6; }
.rk-monthly-calendar__legend { display: flex; flex-wrap: wrap; gap: 6px 11px; margin: 0; padding: 0 20px 10px; list-style: none; border: 1px solid #c9dded; border-top: 0; background: #fff; color: #4e6479; font-size: 10px; }
.rk-monthly-calendar__legend li { display: inline-flex; align-items: center; gap: 4px; }
.rk-monthly-calendar__legend-mark { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.rk-monthly-calendar__legend-mark--overlap {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: #df7800;
    box-shadow: 0 0 0 2px #fff0d8;
}

.rk-monthly-calendar__grid { display: block; border-top: 1px solid #c9dded; border-left: 1px solid #c9dded; }
.rk-monthly-calendar__weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.rk-monthly-calendar__weekday { padding: 8px 3px; border-right: 1px solid #c9dded; border-bottom: 1px solid #c9dded; background: #edf6fc; color: #36536c; font-size: 12px; font-weight: 700; text-align: center; }
.rk-monthly-calendar__weekday:first-child { color: #bf3d45; }
.rk-monthly-calendar__weekday:nth-child(7) { color: #2774ae; }
.rk-monthly-calendar__blank { border-right: 1px solid #d9e6ef; border-bottom: 1px solid #d9e6ef; background: #f8fbfd; }
.rk-monthly-calendar__week { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); isolation: isolate; }
.rk-monthly-calendar__day {
    position: relative;
    min-width: 0;
    padding: 8px 7px;
    border: 0;
    border-right: 1px solid #d9e6ef;
    border-bottom: 1px solid #d9e6ef;
    background: #fff;
    color: #17324d;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
/* 月内で最も多い帯レーンと単日タグの行数に合わせ、すべての週高をそろえる。 */
.rk-monthly-calendar__week .rk-monthly-calendar__blank,
.rk-monthly-calendar__week .rk-monthly-calendar__day {
    box-sizing: border-box;
    height: calc(38px + var(--rk-month-band-space) + var(--rk-month-tag-space)) !important;
    min-height: calc(38px + var(--rk-month-band-space) + var(--rk-month-tag-space)) !important;
}
.rk-monthly-calendar__day:hover,
.rk-monthly-calendar__day.is-selected { background: #f1f8fd; outline: 2px solid #087dbd; outline-offset: -2px; z-index: 1; }
.rk-monthly-calendar__day.is-past::before {
    position: absolute;
    /* 帯・日付・タグより前面で、過去日であることを一目で分かるようにする。 */
    z-index: 4;
    inset: 0;
    background:
        linear-gradient(to bottom right, transparent calc(50% - .5px), rgba(157, 169, 181, .48) 50%, transparent calc(50% + .5px)),
        linear-gradient(to bottom left, transparent calc(50% - .5px), rgba(157, 169, 181, .48) 50%, transparent calc(50% + .5px));
    content: '';
    pointer-events: none;
}
.rk-monthly-calendar__day.is-past .rk-monthly-calendar__date { z-index: 1; }
.rk-monthly-calendar__day.is-past .rk-monthly-calendar__tags { position: relative; z-index: 1; }
.rk-monthly-calendar__day.is-today .rk-monthly-calendar__date { display: inline-grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #d51a30; color: #fff; }
.rk-monthly-calendar__day.has-overlap::after {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #df7800;
    box-shadow: 0 0 0 2px #fff0d8;
    content: '';
}
.rk-monthly-calendar__date {
    position: absolute;
    top: 8px;
    left: 7px;
    display: inline-grid;
    min-height: 25px;
    font-size: 14px;
    font-weight: 700;
    line-height: 25px;
}
.rk-monthly-calendar__tags { display: grid; gap: 3px; margin-top: calc(34px + var(--rk-month-band-space)); }
.rk-monthly-calendar__tag,
.rk-monthly-calendar__more { display: block; overflow: hidden; color: #17466a; font-size: 11px; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.rk-monthly-calendar__tag { display: flex; height: 22px; min-height: 22px; align-items: center; padding: 3px 5px; border-radius: 5px; background: #f1fbf5; }
.rk-monthly-calendar__tag-name { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-monthly-calendar__tag--irregular { background: #f3f5f7; }
.rk-monthly-calendar__tag--campaign-regular_wonderful { background: #c8172c; }
.rk-monthly-calendar__tag--campaign-regular_appreciation { background: #6c55b1; }
.rk-monthly-calendar__tag--campaign-regular_5and0 { background: #df780d; }
.rk-monthly-calendar__tag--campaign-irregular_victory { background: #1377be; }
.rk-monthly-calendar__tag--campaign-irregular_shop39 { background: #c76d12; }
.rk-monthly-calendar__tag--campaign-irregular_ikuji { background: #df3f83; }
.rk-monthly-calendar__tag--campaign-always_superdeal { background: #bd3d36; }
.rk-monthly-calendar__tag--campaign-regular_wonderful,
.rk-monthly-calendar__tag--campaign-regular_appreciation,
.rk-monthly-calendar__tag--campaign-regular_5and0,
.rk-monthly-calendar__tag--campaign-irregular_victory,
.rk-monthly-calendar__tag--campaign-irregular_shop39,
.rk-monthly-calendar__tag--campaign-irregular_ikuji,
.rk-monthly-calendar__tag--campaign-always_superdeal { color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .18); }
/* 通常のお買い物マラソンは、大型セールイベントと区別する静かな銀色にする。 */
.rk-monthly-calendar__tag--campaign-irregular_marathon {
    position: relative;
    background: linear-gradient(112deg, #f8fafb 0%, #d7dee6 32%, #aab6c2 50%, #edf1f4 68%, #c5ced7 100%);
    color: #263646;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .78);
    box-shadow: inset 0 0 0 1px rgba(112, 128, 145, .34);
}
.rk-monthly-calendar__tag--featured {
    position: relative;
    background: linear-gradient(112deg, #fffdf0 0%, #ffe9a0 30%, #f6cf4a 49%, #fff8c6 66%, #e9bf37 100%);
    color: #5d4707;
    box-shadow: inset 0 0 0 1px rgba(207, 162, 37, .42), 0 1px 3px rgba(132, 96, 4, .16);
}
.rk-monthly-calendar__tag--featured::after { display: inline-block; margin-left: 4px; color: #af8100; content: '✦'; opacity: .9; }
.rk-monthly-calendar__more { color: #527087; }
.rk-monthly-calendar__more--mobile { display: none; }

/* 複数日にまたがるキャンペーンは、週ごとに分けた帯を同じレーンでつなぐ。 */
.rk-monthly-calendar__bands { position: absolute; top: 34px; right: 0; left: 0; z-index: 3; pointer-events: none; }
.rk-monthly-calendar__band {
    position: absolute;
    top: var(--rk-month-band-lane-top);
    left: var(--rk-month-band-left);
    display: flex;
    width: var(--rk-month-band-width);
    box-sizing: border-box;
    height: 22px;
    min-width: 0;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    padding: 2px 6px;
    border: 1px solid #9da8b6;
    border-radius: 6px;
    background: #9da8b6;
    box-shadow: 0 1px 3px rgba(100, 112, 126, .22);
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    pointer-events: auto;
}
.rk-monthly-calendar__band:hover,
.rk-monthly-calendar__band:focus-visible { z-index: 1; border-color: #7e8a99; background: #7e8a99; outline: 2px solid #f5c94c; outline-offset: 1px; }
.rk-monthly-calendar__band--regular { border-color: #268753; background: #268753; box-shadow: 0 1px 3px rgba(38, 135, 83, .22); }
.rk-monthly-calendar__band--regular:hover,
.rk-monthly-calendar__band--regular:focus-visible { border-color: #176b3f; background: #176b3f; }
.rk-monthly-calendar__band--campaign-regular_wonderful { border-color: #a30f20; background: #c8172c; box-shadow: 0 1px 3px rgba(145, 11, 29, .28); }
.rk-monthly-calendar__band--campaign-regular_wonderful:hover,
.rk-monthly-calendar__band--campaign-regular_wonderful:focus-visible { border-color: #7d0917; background: #a30f20; }
.rk-monthly-calendar__band--campaign-regular_appreciation { border-color: #493682; background: #6c55b1; box-shadow: 0 1px 3px rgba(73, 54, 130, .28); }
.rk-monthly-calendar__band--campaign-regular_appreciation:hover,
.rk-monthly-calendar__band--campaign-regular_appreciation:focus-visible { border-color: #38286a; background: #493682; }
.rk-monthly-calendar__band--campaign-regular_5and0 { border-color: #b85f08; background: #df780d; box-shadow: 0 1px 3px rgba(156, 80, 5, .28); }
.rk-monthly-calendar__band--campaign-regular_5and0:hover,
.rk-monthly-calendar__band--campaign-regular_5and0:focus-visible { border-color: #9c5005; background: #b85f08; }
.rk-monthly-calendar__band--campaign-irregular_victory { border-color: #07558f; background: #1377be; box-shadow: 0 1px 3px rgba(7, 85, 143, .28); }
.rk-monthly-calendar__band--campaign-irregular_victory:hover,
.rk-monthly-calendar__band--campaign-irregular_victory:focus-visible { border-color: #064775; background: #07558f; }
.rk-monthly-calendar__band--campaign-irregular_shop39 { border-color: #9c5005; background: #c76d12; box-shadow: 0 1px 3px rgba(143, 72, 8, .28); }
.rk-monthly-calendar__band--campaign-irregular_shop39:hover,
.rk-monthly-calendar__band--campaign-irregular_shop39:focus-visible { border-color: #7e3e04; background: #9c5005; }
.rk-monthly-calendar__band--campaign-always_superdeal { border-color: #8b2722; background: #bd3d36; box-shadow: 0 1px 3px rgba(139, 39, 34, .28); }
.rk-monthly-calendar__band--campaign-always_superdeal:hover,
.rk-monthly-calendar__band--campaign-always_superdeal:focus-visible { border-color: #6f1e1a; background: #8b2722; }
.rk-monthly-calendar__band--campaign-irregular_ikuji { border-color: #df3f83; background: #df3f83; box-shadow: 0 1px 3px rgba(189, 64, 124, .28); }
.rk-monthly-calendar__band--campaign-irregular_ikuji:hover,
.rk-monthly-calendar__band--campaign-irregular_ikuji:focus-visible { border-color: #b91d61; background: #b91d61; }
.rk-monthly-calendar__band--campaign-irregular_marathon {
    border: 0 !important;
    background: linear-gradient(112deg, #f8fafb 0%, #d7dee6 32%, #aab6c2 50%, #edf1f4 68%, #c5ced7 100%) !important;
    color: #263646;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .78);
    box-shadow: inset 0 0 0 1px rgba(112, 128, 145, .34) !important;
}
.rk-monthly-calendar__band--campaign-irregular_marathon:hover,
.rk-monthly-calendar__band--campaign-irregular_marathon:focus-visible {
    border: 0 !important;
    background: linear-gradient(112deg, #fff 0%, #e2e7ec 32%, #bdc7d1 50%, #f5f7f9 68%, #d2d9e0 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(112, 128, 145, .4) !important;
}
.rk-monthly-calendar__band--featured {
    border: 0 !important;
    background: linear-gradient(112deg, #fffdf0 0%, #ffe9a0 30%, #f6cf4a 49%, #fff8c6 66%, #e9bf37 100%) !important;
    color: #402e08;
    text-shadow: 0 1px 0 rgba(255, 255, 244, .86);
    box-shadow: inset 0 0 0 1px rgba(207, 162, 37, .42) !important;
}
.rk-monthly-calendar__band--featured:hover,
.rk-monthly-calendar__band--featured:focus-visible { border: 0 !important; box-shadow: inset 0 0 0 1px rgba(183, 135, 14, .52) !important; background: linear-gradient(112deg, #fffef5 0%, #fff0b4 30%, #f9d963 49%, #fffbd7 66%, #f0c94d 100%) !important; }
.rk-monthly-calendar__band-name { min-width: 0; flex: 0 1 auto; overflow: hidden; font-size: 11px; font-weight: 900; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.rk-monthly-calendar__band-time { flex: 0 0 auto; font-size: 9px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.rk-monthly-calendar__victory-multiplier { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; line-height: 1; white-space: nowrap; }
.rk-monthly-calendar__band > .rk-monthly-calendar__victory-multiplier { padding: 2px 3px; border: 1px solid rgba(255, 255, 255, .62); border-radius: 3px; background: rgba(255, 255, 255, .2); color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .18); }
.rk-monthly-calendar__tag > .rk-monthly-calendar__victory-multiplier { margin-left: 2px; }
/* 先行部分は1日分だけで帯が短い。日時より名称を優先して左端から見せる。 */
.rk-monthly-calendar__band--mobile-pre-sale { justify-content: flex-start; text-align: left; }
.rk-monthly-calendar__band--mobile-pre-sale .rk-monthly-calendar__band-name { flex: 0 1 auto; }
.rk-monthly-calendar__band--mobile-pre-sale .rk-monthly-calendar__band-time { display: none; }
.rk-monthly-calendar__band--all-day { border-radius: 0; }
.rk-monthly-calendar__band--all-day .rk-monthly-calendar__band-name { flex: 1 1 auto; }
.rk-monthly-calendar__band--all-day .rk-monthly-calendar__band-time { display: none; }
.rk-monthly-calendar__band--continues-from-previous { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.rk-monthly-calendar__band--continues-to-next { border-top-right-radius: 0; border-bottom-right-radius: 0; }

.rk-monthly-calendar-modal-open { overflow: hidden; }
.rk-monthly-calendar__modal[hidden] { display: none; }
.rk-monthly-calendar__modal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 18px; }
.rk-monthly-calendar__modal-backdrop { position: absolute; inset: 0; background: rgba(9, 33, 54, .58); }
.rk-monthly-calendar__modal-dialog { position: relative; z-index: 1; width: min(680px, 100%); max-height: min(80vh, 720px); overflow: auto; border: 1px solid #9ec5e2; border-radius: 12px; background: #fff; box-shadow: 0 18px 48px rgba(9, 33, 54, .3); }
.rk-monthly-calendar__modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 20px 14px; border-bottom: 1px solid #d6e6f1; }
.rk-monthly-calendar__modal-header p { margin: 0 0 3px; color: #527087; font-size: 12px; font-weight: 700; }
.rk-monthly-calendar__modal-title { margin: 0; color: #0d365a; font-size: 18px; }
.rk-monthly-calendar__modal-close { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 1px solid #9ec5e2; border-radius: 50%; padding: 0; background: #fff; color: #135987; font: inherit; font-size: 25px; line-height: 1; cursor: pointer; }
.rk-monthly-calendar__modal-close:hover,
.rk-monthly-calendar__modal-close:focus-visible { border-color: #087dbd; background: #eaf6ff; outline: none; }
.rk-monthly-calendar__modal-body { padding: 4px 20px 20px; }
.rk-monthly-calendar__event-list { display: grid; gap: 9px; margin: 12px 0 0; padding: 0; list-style: none; }
.rk-monthly-calendar__event { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 12px; border: 1px solid #d4e4ef; border-radius: 8px; background: #fbfdff; }
.rk-monthly-calendar__event--campaign-regular_wonderful { border-left: 5px solid #c8172c; background: #fff6f7; }
.rk-monthly-calendar__event--campaign-regular_wonderful .rk-monthly-calendar__status { background: #c8172c; }
.rk-monthly-calendar__event--campaign-regular_wonderful strong { color: #8f1425; }
.rk-monthly-calendar__event--campaign-regular_appreciation { border-left: 5px solid #6c55b1; background: #f8f6ff; }
.rk-monthly-calendar__event--campaign-regular_appreciation .rk-monthly-calendar__status { background: #6c55b1; }
.rk-monthly-calendar__event--campaign-regular_appreciation strong { color: #493682; }
.rk-monthly-calendar__event--campaign-regular_5and0 { border-left: 5px solid #df780d; background: #fff9f1; }
.rk-monthly-calendar__event--campaign-regular_5and0 .rk-monthly-calendar__status { background: #df780d; }
.rk-monthly-calendar__event--campaign-regular_5and0 strong { color: #9c5005; }
.rk-monthly-calendar__event--campaign-irregular_victory { border-left: 5px solid #1377be; background: #f3f9fe; }
.rk-monthly-calendar__event--campaign-irregular_victory .rk-monthly-calendar__status { background: #1377be; }
.rk-monthly-calendar__event--campaign-irregular_victory strong { color: #07558f; }
.rk-monthly-calendar__event--campaign-irregular_shop39 { border-left: 5px solid #c76d12; background: #fff8f1; }
.rk-monthly-calendar__event--campaign-irregular_shop39 .rk-monthly-calendar__status { background: #c76d12; }
.rk-monthly-calendar__event--campaign-irregular_shop39 strong { color: #8f4808; }
.rk-monthly-calendar__event--campaign-irregular_ikuji { border-left: 5px solid #df3f83; background: #fff4f8; }
.rk-monthly-calendar__event--campaign-irregular_ikuji .rk-monthly-calendar__status { background: #df3f83; }
.rk-monthly-calendar__event--campaign-irregular_ikuji strong { color: #a31959; }
.rk-monthly-calendar__event--campaign-always_superdeal { border-left: 5px solid #bd3d36; background: #fff6f5; }
.rk-monthly-calendar__event--campaign-always_superdeal .rk-monthly-calendar__status { background: #bd3d36; }
.rk-monthly-calendar__event--campaign-always_superdeal strong { color: #8b2722; }
.rk-monthly-calendar__event--campaign-irregular_marathon { border-left: 5px solid #8493a3; background: linear-gradient(112deg, #fbfcfd, #e6ebef, #f8fafb); }
.rk-monthly-calendar__event--campaign-irregular_marathon .rk-monthly-calendar__status { background: #738294; }
.rk-monthly-calendar__event--campaign-irregular_marathon strong { color: #304151; }
.rk-monthly-calendar__event.is-featured { border-color: #e3c24e; background: linear-gradient(112deg, #fffef9 0%, #fff1ab 46%, #fffef9 72%, #f5d968 100%); box-shadow: 0 2px 7px rgba(132, 96, 4, .14); }
.rk-monthly-calendar__event > div { display: flex; min-width: 0; flex: 1 1 auto; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; }
.rk-monthly-calendar__event strong { color: #17324d; font-size: 15px; }
.rk-monthly-calendar__event.is-featured strong { color: #5d4707; }
.rk-monthly-calendar__event .rk-monthly-calendar__victory-multiplier { padding: 3px 5px; border-radius: 4px; background: #eaf4fc; color: #07558f; }
.rk-monthly-calendar__status { flex: 0 0 auto; padding: 2px 6px; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 700; }
.rk-monthly-calendar__status--irregular { background: #8e99a8; }
.rk-monthly-calendar__status--regular { background: #268753; }
.rk-monthly-calendar__event.is-featured .rk-monthly-calendar__status { background: #b98f12; }
.rk-monthly-calendar__time { color: #527087; font-size: 12px; }
.rk-monthly-calendar__event a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; border: 1px solid #087dbd; border-radius: 6px; padding: 7px 9px; background: #fff; color: #075e95; font-size: 12px; font-weight: 700; text-decoration: none !important; }
.rk-monthly-calendar__event a:hover { background: #eaf6ff; }
.rk-monthly-calendar__empty { margin: 13px 0 0; color: #527087; font-size: 14px; }
.rk-monthly-calendar__updated-at { margin: 7px 3px 0; color: #718494; font-size: 11px; line-height: 1.4; text-align: right; }
.rk-monthly-calendar__note { padding: 11px 3px 0; color: #60798d; font-size: 12px; line-height: 1.6; }
.rk-monthly-calendar__message { margin: 10px 0 0; color: #a1262f; font-size: 13px; font-weight: 700; }
.rk-monthly-calendar.is-loading { opacity: .55; pointer-events: none; }

/* Main-column layouts can be narrow even on a wide browser. Use the calendar's
 * own width, rather than viewport width, to prevent label clipping. */
@container (max-width: 920px) {
    .rk-monthly-calendar__header { align-items: flex-start; flex-direction: column; padding: 15px; gap: 10px; }
    .rk-monthly-calendar__navigation { align-self: flex-end; }
    .rk-monthly-calendar__description { padding: 10px 14px 7px; font-size: 12px; }
    .rk-monthly-calendar__legend { gap: 5px 9px; padding: 0 14px 9px; font-size: 10px; }
    .rk-monthly-calendar__weekday { padding: 6px 1px; font-size: 11px; }
    .rk-monthly-calendar__week .rk-monthly-calendar__blank,
    .rk-monthly-calendar__week .rk-monthly-calendar__day {
        height: calc(40px + var(--rk-month-band-space) + var(--rk-month-tag-space)) !important;
        min-height: calc(40px + var(--rk-month-band-space) + var(--rk-month-tag-space)) !important;
    }
    .rk-monthly-calendar__day { padding: 5px 4px; }
    .rk-monthly-calendar__date { top: 5px; left: 4px; min-height: 21px; font-size: 12px; line-height: 21px; }
    .rk-monthly-calendar__day.is-today .rk-monthly-calendar__date { width: 21px; height: 21px; }
    .rk-monthly-calendar__day.has-overlap::after { top: 5px; right: 5px; width: 8px; height: 8px; }
    .rk-monthly-calendar__tags { margin-top: calc(26px + var(--rk-month-band-space)); gap: 1px; }
    .rk-monthly-calendar__tag {
        overflow: hidden;
        padding: 2px;
        font-size: 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .rk-monthly-calendar__tag-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .rk-monthly-calendar__tag::after {
        display: none;
    }
    .rk-monthly-calendar__tag:nth-child(n+2),
    .rk-monthly-calendar__more--desktop { display: none; }
    .rk-monthly-calendar__more--mobile { display: block; font-size: 10px; }
    .rk-monthly-calendar__bands { top: 26px; }
    .rk-monthly-calendar__band { height: 22px; gap: 3px; padding: 2px 3px; border-radius: 4px; }
    .rk-monthly-calendar__band-name {
        display: block;
        min-width: 0;
        flex: 0 1 auto;
        overflow: hidden;
        font-size: 9px;
        font-weight: 900;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .rk-monthly-calendar__band-time { display: block; font-size: 8px; line-height: 1.2; }
    .rk-monthly-calendar__updated-at { margin-top: 6px; font-size: 10px; }
    .rk-monthly-calendar__band::before { display: none; }
    .rk-monthly-calendar__modal { padding: 12px; }
    .rk-monthly-calendar__modal-header { padding: 15px 14px 12px; }
    .rk-monthly-calendar__modal-body { padding: 4px 14px 14px; }
    .rk-monthly-calendar__event { align-items: flex-start; flex-direction: column; gap: 9px; }
    .rk-monthly-calendar__event a { align-self: stretch; justify-content: center; }
}
