/* A viewport-sized calendar with a cylindrical, perspective-projected 3D sheet. */
:root {
    --limo-calendar-paper: #121212;
    --limo-calendar-reverse: #202020;
    --limo-calendar-mark: #999999;
    --limo-calendar-grid: #525252;
    --limo-calendar-event: #333333;
    --limo-loader-emphasis: #bdbdbd;
    --limo-loader-primary: #cfcfcf;
    --limo-loader-secondary: #aaaaaa;
    --limo-loader-border: #5c5c5c;
}
html[data-theme="light"] {
    --limo-calendar-paper: #ffffff;
    --limo-calendar-reverse: #f3f3f4;
    --limo-calendar-mark: #60646c;
    --limo-calendar-grid: #d4d4d8;
    --limo-calendar-event: #e4e4e7;
    --limo-loader-emphasis: #1d1d1f;
    --limo-loader-primary: #33353a;
    --limo-loader-secondary: #60646c;
    --limo-loader-border: #d4d4d8;
}
html.limo-loading-colors,
html.limo-loading-colors body {
    /* Safari의 문서 가장자리와 로딩 종이가 같은 불투명 배경을 사용한다. */
    background: var(--limo-calendar-paper) !important;
}
html.limo-loading {
    overflow: hidden !important;
    overscroll-behavior: none;
    scroll-behavior: auto !important;
    overflow-anchor: none;
}
/* WebKit은 전체 화면 고정 요소에서 기존 가장자리 색을 재사용할 수 있다.
   별도 고정 요소는 10px 경계선 판정을 넘기되 화면을 그리지 않고 색만 제공한다. */
.limo-loader-edge {
    position: fixed;
    left: 0;
    right: 0;
    height: 11px;
    z-index: 2147483001;
    background-color: var(--limo-loader-page-color, inherit);
    -webkit-background-clip: text;
    background-clip: text;
    pointer-events: none;
}
.limo-loader-edge--top { top: 0; }
.limo-loader-edge--bottom { bottom: 0; }
.limo-loading-colors .limo-loader-edge { background-color: var(--limo-calendar-paper); }
/* 확장 달력을 유지하되 첫 랜딩 로딩에는 상하단 색상 샘플링도 제공한다. */
.limo-loader-extended:not(.limo-loader-landing-colors) .limo-loader-edge { display: none; }
.limo-loader-extended .limo-loader-center {
    bottom: calc(100% - var(--limo-loader-visible-height) + max(20px, calc(env(safe-area-inset-bottom) + 2vh)));
}
#limo-page-loader {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    isolation: isolate;
    color: var(--limo-loader-emphasis);
    cursor: default;
    pointer-events: auto;
    overflow: clip;
    touch-action: none;
    overscroll-behavior: none;
}
#limo-page-loader[hidden] { display: none; }
html.limo-current-page-turn::view-transition-group(root) { animation: none; }
html.limo-current-page-turn::view-transition-image-pair(root) { isolation: isolate; }
html.limo-current-page-turn::view-transition-new(root) { animation: none; mix-blend-mode: normal; z-index: 0; }
html.limo-current-page-turn::view-transition-old(root) {
    z-index: 1;
    mix-blend-mode: normal;
    transform-origin: 0 0;
    backface-visibility: hidden;
    animation: limo-current-page-turn var(--limo-page-turn-ms, 1100ms) cubic-bezier(.32, .72, 0, 1) both;
}
@keyframes limo-current-page-turn {
    from { transform: perspective(var(--limo-page-perspective)) translate3d(0, 0, 0) rotate3d(1, -.18, 0, 0deg); opacity: 1; }
    to {
        transform: perspective(var(--limo-page-perspective)) translate3d(calc(var(--limo-page-width) * -.12), calc(var(--limo-page-height) * -.2), calc(var(--limo-page-height) * -.35)) rotate3d(1, -.18, 0, -110deg);
        opacity: 0;
    }
}
.limo-calendar-stage, .limo-loader-calendar { position: absolute; inset: 0; width: 100%; height: 100%; }
.limo-calendar-paper { fill: var(--limo-calendar-paper); }
.limo-calendar-perspective { position: absolute; inset: 0; perspective-origin: 50% 50%; visibility: hidden; }
.limo-calendar-strips { position: absolute; inset: 0; transform-style: preserve-3d; }
.limo-calendar-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.limo-calendar-strip {
    position: absolute;
    left: 0;
    top: 0;
    transform-origin: 0 0;
    transform-style: preserve-3d;
}
.limo-strip-front, .limo-strip-reverse { position: absolute; inset: 0; overflow: hidden; }
.limo-strip-front { background: var(--limo-calendar-paper); backface-visibility: hidden; transform: translateZ(.02px); }
.limo-strip-reverse { background: var(--limo-calendar-reverse); backface-visibility: hidden; transform: translateZ(-.02px) rotateY(180deg); }
.limo-strip-texture { position: absolute; left: 0; top: 0; display: block; max-width: none !important; object-fit: fill; border-radius: 0; transform-origin: 0 0; }
.limo-front-shade, .limo-reverse-shade { position: absolute; inset: 0; display: block; pointer-events: none; }
.limo-calendar-cast-shadow { position: absolute; left: 0; top: 0; transform-origin: 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .65), transparent); opacity: 0; pointer-events: none; }
.is-turning .limo-calendar-perspective { visibility: visible; }
.is-turning .limo-calendar-front { visibility: hidden; }
.limo-calendar-date-mark, .limo-calendar-form {
    animation: limo-calendar-form var(--limo-form-ms, 360ms) calc(var(--form-delay, 0ms) - var(--limo-form-offset, 0ms)) both;
}
.limo-calendar-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    animation: limo-calendar-draw var(--line-ms, 630ms) cubic-bezier(.22, 1, .36, 1) calc(var(--form-delay, 0ms) - var(--limo-form-offset, 0ms)) both;
}
.limo-calendar-dates { fill: var(--limo-calendar-mark); }
.limo-calendar-dates > g { opacity: .7; }
.limo-calendar-header, .limo-calendar-weekdays { fill: var(--limo-calendar-mark); opacity: .8; }
.limo-calendar-grid { fill: none; stroke: var(--limo-calendar-grid); opacity: .55; }
.limo-calendar-events { fill: var(--limo-calendar-event); opacity: .7; }
.limo-calendar-back { opacity: 0; animation: limo-calendar-form 1ms calc(var(--limo-intro-ms, 2240ms) - var(--limo-form-offset, 0ms)) both; }
.is-assembled .limo-calendar-date-mark,
.is-assembled .limo-calendar-form,
.is-assembled .limo-calendar-line,
.is-assembled .limo-calendar-back { animation: none; opacity: 1; }
[data-state="exiting"] .limo-calendar-back { visibility: hidden; }
.limo-loader-center {
    position: absolute;
    z-index: 10;
    inset: auto max(16px, env(safe-area-inset-right)) max(20px, calc(env(safe-area-inset-bottom) + 2vh)) max(16px, env(safe-area-inset-left));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 1;
    transition: opacity 100ms ease;
}
[data-state="covering"] .limo-loader-center,
[data-state="exiting"] .limo-loader-center { opacity: 0; pointer-events: none; }
.limo-loader-status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    font: 13px/1.6 system-ui, sans-serif;
    letter-spacing: .03em;
    color: var(--limo-loader-secondary);
    text-align: center;
}
[data-state="error"] .limo-loader-status {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip-path: none;
    white-space: normal;
}
.limo-loader-retry { border: 1px solid var(--limo-loader-border); border-radius: 8px; min-height: 44px; padding: 9px 16px; background: var(--limo-calendar-reverse); color: var(--limo-loader-primary); font: 13px system-ui, sans-serif; cursor: pointer; }
.limo-loader-retry:focus-visible { outline: 2px solid var(--limo-loader-emphasis); outline-offset: 4px; }
.limo-loader-retry:active { transform: scale(.97); }
[data-state="error"] .limo-loader-calendar *,
.is-paused .limo-loader-calendar * { animation-play-state: paused; }
.limo-loading .landing-tap-cursor,
.limo-loading .drive-filter-demo-cursor { visibility: hidden !important; }
.limo-loading body { cursor: default !important; }
.limo-loading #limo-page-loader * { cursor: default; }
.limo-loading #limo-page-loader button { cursor: pointer; }
@keyframes limo-calendar-form { from { opacity: 0; } to { opacity: 1; } }
@keyframes limo-calendar-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
    html.limo-current-page-turn::view-transition-old(root) { animation: none !important; }
    #limo-page-loader * { animation: none !important; transition: none !important; }
    .limo-calendar-back { opacity: 1; }
    .limo-calendar-dates > g { opacity: .7; }
}
