@charset "utf-8";

.rl-tools {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
    position: relative;
}

.header .rl-tools span {
    float: none;
    display: inline;
    background: transparent;
    color: inherit;
    padding: 0;
    margin: 0;
    border-radius: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.rl-ding-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    position: relative;
}

.rl-ding {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 2px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;

    min-height: 34px;
    box-sizing: border-box;

    min-width: 0;
}

.rl-ding-ico {
    font-size: 15px;
    line-height: 1;
    flex: none;
    user-select: none;
}

.rl-ding-ico:hover { background: transparent; }
.rl-ding-ico[aria-expanded="true"] { background: transparent; }

.header .rl-tools .rl-ding .rl-ding-f {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: none;
}

.header .rl-tools .rl-ding .rl-ding-lb {
    font-size: 12px;
    color: var(--rl-text-3, #888);
    white-space: nowrap;
}

.header .rl-tools .rl-ding input[type="time"] {
    width: 88px;
    padding: 4px 7px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--rl-text, #1a1a1a);
    background: rgba(0, 0, 0, .05);
    border: 1px solid transparent;
    border-radius: 999px;
    outline: none;
}

.header .rl-tools .rl-ding input[type="time"]:focus {
    background: var(--rl-red-l, #fdf4f3);
    border-color: var(--rl-red-b, #f0d9d7);
}

.header .rl-tools .rl-ding .rl-ding-sep {
    font-size: 12px;
    color: var(--rl-text-3, #b3b3b3);
    flex: none;
    padding: 0;
}

.header .rl-tools .rl-ding .rl-ding-save2 {
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: var(--rl-red, #d2514c);
    border: 0;
    border-radius: 999px;
    padding: 7px 16px;
    cursor: pointer;
    white-space: nowrap;
    flex: none;
    transition: background .18s;
}

.header .rl-tools .rl-ding .rl-ding-save2:hover { background: var(--rl-red-d, #b8413c); }

.header .rl-tools .rl-ding .rl-ding-cog {
    font: inherit;
    font-size: 14px;
    line-height: 1;
    color: var(--rl-text-3, #999);
    background: transparent;
    border: 0;
    border-radius: 6px;
    padding: 4px;
    cursor: pointer;
    flex: none;
    transition: color .18s, background .18s;
}

.header .rl-tools .rl-ding .rl-ding-cog:hover,
.header .rl-tools .rl-ding .rl-ding-cog[aria-expanded="true"] {
    color: var(--rl-red, #d2514c);
    background: var(--rl-red-l, #fdf4f3);
}

.rl-ding-hint {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    color: var(--rl-text-3, #b3b3b3);
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rl-ding-sum { display: none; }

.rl-ding-state {
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
}
.header .rl-tools .rl-ding-state.rl-ding-state-on { background: var(--rl-red, #d2514c); color: #fff; }

.header .rl-tools .rl-ding-state.rl-ding-state-wait { background: var(--rl-red-l); color: var(--rl-red-d); }
.header .rl-tools .rl-ding-state.rl-ding-state-off { background: var(--rl-line); color: var(--rl-text-3); }

.rl-ding-pop {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    width: 320px;
    padding: 14px 16px 15px;
    background: #fff;
    border: 1px solid var(--rl-red-b, #f0d9d7);
    border-radius: 10px;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .22);
    text-align: left;
}

.rl-ding-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.rl-ding-row + .rl-ding-row { margin-top: 12px; }

.rl-ding-row .rl-ding-f,
.rl-ding-row .rl-ding-sep { flex: none; }

.rl-ding-lb2 {
    font-size: 12px;
    color: var(--rl-text-3, #9a9a9a);
    flex: none;
    width: 100%;
}

.rl-ding-tip {
    font-size: 11.5px;
    color: var(--rl-text-3, #9a9a9a);
    line-height: 1.5;
    width: 100%;
}

.rl-wd { display: flex; gap: 3px; flex: none; }

.rl-wd-b {
    font: inherit;
    font-size: 12.5px;
    width: 25px;
    height: 26px;
    line-height: 24px;
    text-align: center;
    color: var(--rl-text-2, #666);
    background: #f7f7f7;
    border: 1px solid var(--rl-line, #eee);
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    flex: none;
    transition: all .16s;
}
.rl-wd-b.rl-on {
    color: #fff;
    background: var(--rl-red, #d2514c);
    border-color: var(--rl-red, #d2514c);
}
.rl-wd-b:hover { border-color: var(--rl-red, #d2514c); }

.rl-chk {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    color: var(--rl-text-2, #666);
    cursor: pointer;
    white-space: nowrap;
}
.rl-chk input { margin: 0; accent-color: var(--rl-red, #d2514c); }

.rl-ding-act { justify-content: flex-end; gap: 8px; }

.rl-ding-mini {
    font: inherit;
    font-size: 12px;
    color: var(--rl-text-2, #666);
    background: #fff;
    border: 1px solid var(--rl-line, #ddd);
    border-radius: 999px;
    padding: 5px 12px;
    cursor: pointer;
    white-space: nowrap;
}
.rl-ding-mini:hover { color: var(--rl-red, #d2514c); border-color: var(--rl-red-b, #f0d9d7); }
.rl-ding-mini-v { color: var(--rl-red, #d2514c); border-color: var(--rl-red-b, #f0d9d7); }

.rl-wd + .rl-ding-mini { margin-left: 6px; flex: none; }

.rl-ding-f {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--rl-text-2, #666);
    white-space: nowrap;
    cursor: pointer;
}

.rl-ding-f input[type="time"] {
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--rl-text, #2f2f2f);
    background: #fff;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 3px 6px;
    outline: none;
    cursor: pointer;
}

.rl-ding-f input[type="time"]:focus {
    border-color: var(--rl-red, #d2514c);
    box-shadow: 0 0 0 3px rgba(210, 81, 76, .14);
}

.rl-ding-sep {
    color: var(--rl-text-3, #9a9a9a);
    font-size: 12px;
}

.rl-ding-save {
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    background: var(--rl-red, #d2514c);
    border: 0;
    border-radius: 999px;
    padding: 6px 15px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s;
}

.rl-ding-save:hover { background: var(--rl-red-d, #b8413c); }
.rl-ding-save[disabled] { opacity: .55; cursor: default; }

.rl-quick-btn {
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--rl-red, #d2514c);
    background: #fff;
    border: 1px solid var(--rl-red-b, #f0d9d7);
    border-radius: 999px;
    padding: 0 16px;
    height: 34px;
    min-height: 34px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s, border-color .18s;
}

.rl-quick-btn:hover {
    background: var(--rl-red-l, #fdf4f3);
    border-color: var(--rl-red, #d2514c);
}

.header .rl-tools .rl-quick-btn .rl-qb-ico { font-style: normal; margin-right: 4px; }

.header .rl-tools .rl-quick-btn .rl-qb-ico,
.header .rl-tools .rl-theme-btn .rl-tb-ico {
    font-family: "Segoe UI Symbol", "Segoe UI Emoji", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1;
    width: 1em;
    display: inline-block;
    vertical-align: -2px;
    text-align: center;
}

#rlAlarm {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(30, 20, 20, .55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

#rlAlarm.rl-on {
    display: flex;
    animation: rlOverlayPulse 1.1s ease-in-out infinite alternate;
}

.rl-alarm-box {
    position: relative;
    width: 400px;
    max-width: 88vw;
    background: var(--rl-surface, #fff);
    border: 0;
    border-radius: 20px;
    padding: 34px 30px 28px;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42);

    animation: rlBoxShake .5s linear 4;
    overflow: hidden;
}

.rl-alarm-box::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--rl-red, #d2514c), var(--rl-red-d, #b8413c));
}

.rl-alarm-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto;
    font-size: 54px;
    line-height: 1;
    transform-origin: 50% 50%;
    animation: rlIcoRing 1.8s ease-in-out 3;
}

.rl-alarm-box h2 {
    margin: 14px 0 10px;
    font-size: 25px;
    font-weight: 700;
    color: var(--rl-red-d, #b8413c);
    line-height: 1.3;
}

.rl-alarm-box p {
    margin: 0 0 26px;
    font-size: 16px;
    color: var(--rl-text-2, #666);
    line-height: 1.7;
}

#rlAlarmOk {
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    background: var(--rl-red, #d2514c);
    border: 0;
    border-radius: 999px;
    padding: 13px 52px;
    cursor: pointer;
    transition: background .18s, transform .12s;
    box-shadow: 0 6px 18px var(--rl-red-b, #f0d9d7);
}

#rlAlarmOk:hover { background: var(--rl-red-d, #b8413c); }
#rlAlarmOk:active { transform: scale(.96); }

@keyframes rlIcoRing {

    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-8deg) scale(1.05); }
    75% { transform: rotate(8deg) scale(1.05); }
}

body.rl-shaking > *:not(#rlAlarm):not(#rlMemo):not(#rlToast) {
    animation: rlBodyShake 1.2s linear;
}

@keyframes rlBodyShake {

    0%, 100% { transform: translateY(0) scale(1); }
    10% { transform: translateY(-9px) scale(1.006); }
    20% { transform: translateY(8px) scale(0.996); }
    30% { transform: translateY(-7px) scale(1.005); }
    40% { transform: translateY(6px) scale(0.997); }
    50% { transform: translateY(-5px) scale(1.004); }
    60% { transform: translateY(4px) scale(0.998); }
    70% { transform: translateY(-3px) scale(1.002); }
    80% { transform: translateY(2px) scale(0.999); }
    90% { transform: translateY(-1px) scale(1); }
}

@keyframes rlBoxShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-7px); }
    50% { transform: translateX(7px); }
    75% { transform: translateX(-7px); }
}

@keyframes rlOverlayPulse {
    from { background: rgba(30, 20, 20, .48); }
    to   { background: rgba(30, 20, 20, .66); }
}

#calendar > .day { position: relative; }

.rl-memo-btn {
    position: absolute;
    top: 3px;
    right: 3px;
    z-index: 5;
    width: 17px;
    height: 17px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-size: 13px;
    line-height: 1;
    color: var(--rl-red, #d2514c);

    background: var(--rl-red-l, #fdf4f3);
    border: 1px solid var(--rl-red-b, #f0d9d7);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .16s, transform .16s, background .16s;
}

#calendar > .day:hover .rl-memo-btn { opacity: 1; transform: scale(1); }

.rl-memo-btn:hover {
    color: #fff;
    background: var(--rl-red, #d2514c);
    border-color: var(--rl-red, #d2514c);
}

.rl-memo-btn.rl-has {
    opacity: 1;
    transform: scale(1);
    color: #fff;
    background: var(--rl-red, #d2514c);
    border-color: var(--rl-red, #d2514c);
    font-size: 11px;
    font-weight: 700;
}

#calendar > .day.dtdaycss .rl-memo-btn {
    background: #fff;
    border-color: #fff;
    color: var(--rl-red, #d2514c);
}

#rlMemo {
    position: fixed;
    inset: 0;
    z-index: 99980;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(24, 20, 20, .42);
}

#rlMemo.rl-on { display: flex; }

.rl-memo-box {
    width: 420px;
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 54px rgba(0, 0, 0, .3);
    overflow: hidden;
    animation: rlPopIn .2s ease-out;
}

@keyframes rlPopIn {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to   { opacity: 1; transform: none; }
}

.rl-memo-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--rl-red-l, #fdf4f3);
    border-bottom: 1px solid var(--rl-red-b, #f0d9d7);
}

.rl-memo-head strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--rl-red-d, #b8413c);
}

.rl-memo-head .rl-memo-wd {
    font-size: 12.5px;
    font-weight: 400;
    color: var(--rl-text-3, #9a9a9a);
}

.rl-memo-close {
    margin-left: auto;
    width: 28px;
    height: 28px;
    padding: 0;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    color: var(--rl-text-3, #9a9a9a);
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.rl-memo-close:hover { background: #fff; color: var(--rl-red, #d2514c); }

.rl-memo-list {
    margin: 0;
    padding: 10px 16px;
    list-style: none;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 56px;
}

.rl-memo-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--rl-line, #edeeef);
}

.rl-memo-item:last-child { border-bottom: 0; }

.rl-memo-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: var(--rl-red, #d2514c);
    flex: none;
    cursor: pointer;
}

.rl-memo-txt {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--rl-text, #2f2f2f);
    word-break: break-word;
}

.rl-memo-item.rl-done .rl-memo-txt {
    color: var(--rl-text-3, #9a9a9a);
    text-decoration: line-through;
}

.rl-memo-at {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    font-size: 11.5px;
    color: var(--rl-red-d, #b8413c);
    background: var(--rl-red-l, #fdf4f3);
    border: 1px solid var(--rl-red-b, #f0d9d7);
    border-radius: 999px;
    white-space: nowrap;
    vertical-align: 1px;
}

.rl-memo-item.rl-done .rl-memo-at { opacity: .5; }

.rl-memo-op {
    flex: none;
    display: flex;
    gap: 2px;
}

.rl-memo-op button {
    width: 26px;
    height: 26px;
    padding: 0;
    font: inherit;
    font-size: 13px;
    line-height: 1;
    color: var(--rl-text-3, #9a9a9a);
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
}

.rl-memo-op button:hover { background: var(--rl-red-l, #fdf4f3); color: var(--rl-red, #d2514c); }

.rl-memo-empty {
    padding: 14px 0;
    text-align: center;
    font-size: 13px;
    color: var(--rl-text-3, #9a9a9a);
}

.rl-memo-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--rl-line, #edeeef);
    background: #fcfcfd;
    flex-wrap: wrap;
}

.rl-memo-form input[type="text"] {
    flex: 1 1 140px;
    min-width: 0;
    font: inherit;
    font-size: 14px;
    color: var(--rl-text, #2f2f2f);
    background: #fff;
    border: 1px solid var(--rl-line, #edeeef);
    border-radius: 9px;
    padding: 8px 11px;
    outline: none;
}

.rl-memo-form input[type="text"]:focus {
    border-color: var(--rl-red, #d2514c);
    box-shadow: 0 0 0 3px rgba(210, 81, 76, .12);
}

.rl-memo-form .rl-memo-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    color: var(--rl-text-2, #666);
    white-space: nowrap;
}

.rl-memo-form input[type="time"] {
    font: inherit;
    font-size: 13px;
    color: var(--rl-text, #2f2f2f);
    background: #fff;
    border: 1px solid var(--rl-line, #edeeef);
    border-radius: 9px;
    padding: 7px 6px;
    outline: none;
}

.rl-memo-form input[type="time"]:focus { border-color: var(--rl-red, #d2514c); }

.rl-memo-add {
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    background: var(--rl-red, #d2514c);
    border: 0;
    border-radius: 9px;
    padding: 9px 18px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s;
}

.rl-memo-add:hover { background: var(--rl-red-d, #b8413c); }
.rl-memo-add[disabled] { opacity: .55; cursor: default; }

.rl-memo-cancel {
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--rl-text-2, #666);
    background: #fff;
    border: 1px solid var(--rl-line, #edeeef);
    border-radius: 9px;
    padding: 9px 16px;
    cursor: pointer;
    white-space: nowrap;
}

.rl-memo-cancel:hover { border-color: var(--rl-text-3, #9a9a9a); }

#rlToast {
    position: fixed;
    top: 22px;
    left: 50%;
    z-index: 99999;
    max-width: 90vw;
    padding: 11px 22px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #fff;
    text-align: center;
    background: rgba(30, 30, 30, .92);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
    transform: translateX(-50%) translateY(-220%);
    opacity: 0;
    transition: transform .34s cubic-bezier(.34, 1.4, .5, 1), opacity .2s;
    pointer-events: none;
}

#rlToast.rl-on {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 900px) {
    .header .top {
        flex-wrap: nowrap;
        row-gap: 10px;
    }

    .header .top h1 {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

    }
    .rl-tools {
        margin-left: 0;

        flex: 0 0 auto;
        justify-content: flex-end;

        min-width: 0;
        max-width: 100%;margin-left: auto;
    }

    .header .rl-tools .rl-ding-wrap { display: none; }
    .rl-ding { flex: 0 1 auto; justify-content: center; min-width: 0; }
    .rl-ding-pop { width: min(320px, calc(100vw - 32px)); }

    .header .rl-tools .rl-quick-btn .rl-qb-txt { display: none; }
    .header .rl-tools .rl-quick-btn .rl-qb-ico { margin-right: 0; }

    .header .rl-tools .rl-quick-btn {
        width: 39px;
        min-width: 39px;
        height: 39px;
        min-height: 39px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        box-sizing: border-box;
    }
}

@media (max-width: 560px) {
    .rl-tools { gap: 6px; flex-wrap: nowrap; min-width: 0; }

    .header .rl-tools .rl-ding-lb,
    .header .rl-tools .rl-qb-txt { display: none; }

    .rl-ding {
        gap: 4px;
        padding: 0 2px;
        flex: 0 1 auto;
    }
    .rl-ding .rl-ding-f { gap: 0; }

    .header .rl-tools .rl-ding input[type="time"] { font-size: 12.5px; padding: 3px 5px; }

    .header .rl-tools .rl-ding .rl-ding-save2 { padding: 6px 13px; font-size: 12px; }
    .rl-ding-pop { right: auto; left: 0; }

    .rl-ding-act { justify-content: space-between; }
    .rl-ding-mini { padding: 5px 10px; }
    .rl-ding-act .rl-ding-save { padding: 6px 18px; }

    .rl-quick-btn { padding: 0; height: 39px; min-height: 39px; font-size: 13px; flex: none; }

    .rl-memo-btn {
        top: auto;
        right: auto;
        left: 50%;
        bottom: 0;
        width: 22px;
        height: 10px;
        transform: translateX(-50%);
        background: transparent;
        border: 0;
        color: transparent;
        font-size: 0;
        opacity: .45;
    }
    .rl-memo-btn::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 1px;
        margin-left: -3px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--rl-red, #d2514c);
    }
    #calendar > .day:hover .rl-memo-btn { opacity: .45; }
    .rl-memo-btn:active { opacity: 1; }

    #calendar > .day.dtdaycss .rl-memo-btn {
        background: transparent;
        border: 0;
        color: transparent;
        font-size: 0;
    }
    #calendar > .day.dtdaycss .rl-memo-btn::before { background: #fff; }

    .rl-memo-btn.rl-has {
        top: auto;
        right: auto;
        width: 22px;
        height: 10px;
        border: 0;
        background: transparent;
        color: transparent;
        font-size: 0;
        opacity: 1;
        transform: translateX(-50%);
    }
    .rl-memo-btn.rl-has::before {
        width: 8px;
        height: 8px;
        margin-left: -4px;
        bottom: 0;
    }

    .rl-alarm-box { padding: 22px 18px 18px; }
    .rl-alarm-ico { font-size: 46px; }
    .rl-alarm-box h2 { font-size: 20px; }
    .rl-alarm-box p { font-size: 14.5px; }

    .rl-memo-box { width: 100%; max-height: 86vh; }
    .rl-memo-add { flex: 1 1 100%; }
    .rl-memo-form .rl-memo-time { flex: 1 1 auto; }
}

@media (max-width: 480px) {
    .rl-tools { gap: 6px; min-width: 0; }

    .rl-ding {
        padding: 0 2px;
        gap: 4px;
        min-width: 0;
        overflow: hidden;
    }

    .header .rl-tools .rl-ding .rl-ding-ico { display: none; }
    .header .rl-tools .rl-ding input[type="time"] { width: 74px; font-size: 12px; padding: 3px 5px; }
    .header .rl-tools .rl-ding .rl-ding-save2 { font-size: 11px; padding: 5px 11px; }
    .header .rl-tools .rl-ding .rl-ding-cog { display: none; }

    .rl-quick-btn { padding: 0; height: 39px; min-height: 39px; flex: none; }
}

@media (max-width: 360px) {
    .rl-tools { gap: 5px; }

    .rl-ding { padding: 0 2px; gap: 3px; }

    .header .rl-tools .rl-ding input[type="time"] { width: 68px; }

    .header .rl-tools .rl-ding .rl-ding-sep,
    .header .rl-tools .rl-ding .rl-ding-sep + .rl-ding-f { display: none; }

    .rl-quick-btn { padding: 0; height: 39px; min-height: 39px; flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
    body.rl-shaking > *:not(#rlAlarm):not(#rlMemo):not(#rlToast) { animation: none; }
    .rl-alarm-box { animation: none; }
    #rlAlarm.rl-on { animation: none; }
}
