/* A raised calendar cue, kept in flow so it never covers a date or control. */
#jjr-app .jolly-date-guide {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 16px 0 24px;
    padding: 14px 18px;
    border: 2px solid #ffcf21;
    border-radius: 18px;
    background: #fff7d5;
    color: #43126b;
    box-shadow: 0 7px 0 #e6b41c, 0 13px 24px #43126b20;
    animation: jolly-date-float 2.4s ease-in-out infinite;
}
#jjr-app .jolly-date-guide[hidden] { display: none; }
#jjr-app .jolly-date-guide::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 34px;
    width: 14px;
    height: 14px;
    background: #fff7d5;
    border-right: 2px solid #ffcf21;
    border-bottom: 2px solid #ffcf21;
    transform: rotate(45deg);
}
#jjr-app .jolly-date-guide-number {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    background: #7d32b3;
    color: white;
    font-weight: 900;
}
#jjr-app .jolly-date-guide strong { display: block; font-size: 15px; line-height: 1.4; }
#jjr-app .jolly-date-guide small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.5; color: #5d3b6c; }
#jjr-app .jolly-date-guide[data-step="return"] { border-color: #ed167b; box-shadow: 0 7px 0 #d7106c, 0 13px 24px #43126b20; }
#jjr-app .jolly-date-guide[data-step="return"]::after { border-color: #ed167b; }
#jjr-app .jolly-date-guide[data-step="return"] .jolly-date-guide-number { background: #d7106c; }
@keyframes jolly-date-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (max-width: 480px) {
    #jjr-app .jolly-date-guide { width: 100%; gap: 9px; padding: 12px; }
    #jjr-app .jolly-date-guide strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { #jjr-app .jolly-date-guide { animation: none; } }
.jolly-date-calendar { scroll-margin-top: 120px; }
.jolly-product-dialog .jolly-date-calendar { scroll-margin-top: 20px; }
#jjr-app .jolly-date-reopen { margin-top: 8px; padding: 6px 10px; border-radius: 9px; background: #7d32b3; color: white; border: 0; font: 700 12px/1.5 var(--body,Arial,sans-serif); }
#jjr-app .jolly-date-reopen[hidden] { display: none; }
body.jolly-date-focus-open { overflow: hidden; }
#jjr-app .jolly-return-calendar {
    position: fixed;
    inset: 0;
    width: min(680px, calc(100vw - 28px));
    max-width: none;
    max-height: calc(100dvh - 28px);
    box-sizing: border-box;
    margin: auto;
    padding: 26px;
    overflow: auto;
    border: 3px solid #fff;
    border-radius: 24px;
    background: linear-gradient(145deg,#fff5fa,#fff 45%,#f9f3ff);
    color: #43126b;
    box-shadow: 0 28px 90px #16062d66;
}
#jjr-app .jolly-return-calendar[open] { animation: jolly-calendar-pop .25s ease-out; }
#jjr-app .jolly-return-calendar::backdrop { background: #22103dbd; backdrop-filter: blur(8px); }
#jjr-app .jolly-return-header { position: relative; padding-right: 34px; }
#jjr-app .jolly-return-header>p:first-child { color: #b31365; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
#jjr-app .jolly-return-header h2 { margin: 10px 0; color: #43126b; font: 500 32px/1.15 var(--title,Fredoka,Arial,sans-serif); }
#jjr-app .jolly-return-header h2:focus { outline: none; }
#jjr-app .jolly-return-header #jolly-return-description { margin: 10px 0; color: #71587e; font-size: 12px; line-height: 1.6; }
#jjr-app .jolly-return-close { position: absolute; top: 0; right: 0; width: 34px; height: 34px; padding: 0; border: 1px solid #ddcce9; border-radius: 50%; background: white; color: #b31365; font-size: 26px; line-height: 1; }
#jjr-app .jolly-return-back { padding: 11px 15px; border: 1px solid #d9c4e8; border-radius: 11px; background: #f3eaff; color: #663080; font: 700 12px/1.5 var(--body,Arial,sans-serif); }
#jjr-app .jolly-return-calendar .jjr-calendar-nav { margin-top: 20px; }
#jjr-app .jolly-return-calendar .jjr-day { min-height: 58px; }
#jjr-app .jolly-return-calendar .jjr-calendar-key { margin: 16px 0 20px; }
@keyframes jolly-calendar-pop { from { opacity: 0; transform: translateY(22px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
    #jjr-app .jolly-return-calendar { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); padding: 17px 12px; border-radius: 18px; }
    #jjr-app .jolly-return-header h2 { font-size: 26px; }
    #jjr-app .jolly-return-calendar .jjr-day { min-height: 48px; padding: 7px 1px; }
    #jjr-app .jolly-return-calendar .jjr-day small { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) { #jjr-app .jolly-return-calendar[open] { animation: none; } }
