/* Local, editable keepsakes. This layer touches only the three lifestyle slots
   and the photo mosaic; removing it returns the shared desktop geometry. */
#home-screen,
.dlw-editor-overlay {
    --dlw-surface: rgba(250, 250, 245, .78);
    --dlw-soft: rgba(250, 250, 245, .52);
    --dlw-ink: #394a46;
    --dlw-muted: #64766e;
    --dlw-line: rgba(83, 110, 97, .18);
    --dlw-edge: rgba(255, 255, 255, .7);
    --dlw-accent: #698d7b;
    --dlw-shadow: rgba(56, 79, 65, .1);
    --dlw-photo: url('assets/desktop-lifestyle/lily-moment.webp?v=1.0.0');
}
html[data-appearance="dark"] :is(#home-screen, .dlw-editor-overlay) {
    --dlw-surface: rgba(34, 42, 41, .86);
    --dlw-soft: rgba(43, 52, 48, .72);
    --dlw-ink: #edf3ee;
    --dlw-muted: #b4c4ba;
    --dlw-line: rgba(210, 227, 216, .22);
    --dlw-edge: rgba(220, 235, 225, .22);
    --dlw-accent: #b5d0bc;
    --dlw-shadow: rgba(0, 0, 0, .2);
}
html[data-global-beautify="1"] :is(#home-screen, .dlw-editor-overlay) {
    --dlw-surface: var(--lmg-sub-component-bg, rgba(250, 250, 245, .78));
    --dlw-soft: var(--lmg-main-component-bg, rgba(250, 250, 245, .52));
    --dlw-ink: var(--lmg-text, #394a46);
    --dlw-muted: var(--lmg-text, #64766e);
    --dlw-line: var(--lmg-border, rgba(83, 110, 97, .18));
    --dlw-edge: var(--lmg-border, rgba(255, 255, 255, .7));
    --dlw-accent: var(--lmg-button-text, #698d7b);
    --dlw-shadow: var(--lmg-shadow, rgba(56, 79, 65, .1));
}
@supports (color: color-mix(in srgb, black, white)) {
    html[data-global-beautify="1"] :is(#home-screen, .dlw-editor-overlay) {
        --dlw-muted: color-mix(in srgb, var(--lmg-text) 76%, transparent);
        --dlw-line: color-mix(in srgb, var(--lmg-border) 44%, transparent);
    }
}

.dlw-main-slot, .dlw-first-slot, .dlw-third-slot { flex: 0 0 auto; min-width: 0; }
#home-screen .dlw-main-slot { margin-top: clamp(14px, 2.2vh, 22px); }
#home-screen .home-desktop-page-main .home-content { padding-top: clamp(14px, 2.2vh, 22px); }
#home-screen .home-desktop-page-main .home-scroll-wrapper { padding-bottom: 10px; scroll-padding-bottom: 10px; }
#home-screen .home-sub-screen-page .sub-screen-fill { gap: clamp(24px, 3.8vh, 32px); }
#home-screen .desktop-third-fill { gap: clamp(26px, 4vh, 34px); padding-top: 22px; }

/* Main and third have different rhythms: a quiet daily console, and a vertical
   photo journal. Keep the first page's original daybook entirely independent. */
#home-screen .home-desktop-page-main .main-card {
    --main-card-cover-h: clamp(100px, 28vw, 124px);
    --main-card-avatar: 82px;
    margin-inline: var(--desktop-edge);
    box-shadow: 0 8px 24px rgba(40, 48, 44, .09);
}
#home-screen .home-desktop-page-main .card-meta-below-avatar { gap: 8px; }
#home-screen .home-desktop-page-main .home-top-row { --home-top-gap: clamp(18px, 5vw, 26px); }
#home-screen .home-desktop-page-main .home-top-row .horoscope-card {
    width: min(166px, calc((100% - var(--home-top-gap)) / 2));
    max-width: min(166px, calc((100% - var(--home-top-gap)) / 2));
}
#home-screen #desktop-couple-slot .ss2cn-card {
    box-shadow: 0 6px 20px var(--dlw-shadow), inset 0 1px 0 rgba(255, 255, 255, .4);
    -webkit-backdrop-filter: blur(24px) saturate(110%);
    backdrop-filter: blur(24px) saturate(110%);
}
html:not([data-global-beautify="1"]):not([data-appearance="dark"]) #desktop-couple-slot .ss2cn-card {
    --ss2cn-surface: rgba(250, 252, 250, .58);
    --ss2cn-text: #17221c;
    --ss2cn-text-dim: #202a24;
    --ss2cn-accent: #88445b;
    --ss2cn-heart: #b95172;
}

.dlw-time-card, .dlw-keepsake {
    --dlw-ink: #17221c;
    --dlw-muted: #202a24;
    --dlw-surface: rgba(250, 252, 250, .58);
    --dlw-edge: rgba(255, 255, 255, .7);
    --dlw-line: rgba(50, 66, 57, .12);
    --dlw-shadow: rgba(35, 49, 41, .09);
}
html[data-appearance="dark"] :is(.dlw-time-card, .dlw-keepsake) {
    --dlw-ink: #f0f5f1;
    --dlw-muted: #d5dfd8;
    --dlw-surface: rgba(23, 31, 27, .74);
    --dlw-edge: rgba(244, 255, 247, .24);
    --dlw-line: rgba(225, 240, 231, .18);
    --dlw-shadow: rgba(0, 0, 0, .12);
}
html[data-global-beautify="1"] :is(.dlw-time-card, .dlw-keepsake) {
    --dlw-ink: var(--lmg-text, #26312c);
    --dlw-muted: var(--lmg-text, #35433b);
    --dlw-surface: var(--lmg-sub-component-bg, rgba(250, 252, 250, .64));
    --dlw-edge: var(--lmg-border, rgba(255, 255, 255, .7));
    --dlw-line: var(--lmg-border, rgba(50, 66, 57, .12));
}

.dlw-time-card, .dlw-keepsake, .dlw-checklist {
    box-sizing: border-box;
    color: var(--dlw-ink);
    border: 1px solid var(--dlw-edge);
    background: var(--dlw-surface);
    border-radius: 20px;
    box-shadow: 0 7px 20px var(--dlw-shadow), inset 0 1px 0 rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}
.dlw-time-card {
    --dlw-time-fill: #edbed2;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    grid-template-rows: minmax(0, 1fr) 32px;
    height: 148px;
    padding: 12px;
    gap: 5px 16px;
    border-radius: 24px;
    box-shadow: 0 6px 20px var(--dlw-shadow), inset 0 1px 0 rgba(255, 255, 255, .4);
    -webkit-backdrop-filter: blur(24px) saturate(110%);
    backdrop-filter: blur(24px) saturate(110%);
}
.dlw-time-progress { grid-row: 1 / 3; display: flex; flex-direction: column; min-width: 0; gap: 8px; }
.dlw-time-title { color: var(--dlw-muted); font-size: 10px; line-height: 1.5; letter-spacing: .08em; }
.dlw-periods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 1; min-height: 0; gap: 8px; }
.dlw-period { display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 5px; }
.dlw-period-pct { color: var(--dlw-muted); font-size: 9px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.dlw-period-track { position: relative; flex: 1; width: 12px; min-height: 16px; overflow: hidden; border-radius: 999px; background: rgba(81, 66, 75, .16); box-shadow: inset 0 1px 3px rgba(49, 43, 47, .12), 0 1px 0 rgba(255, 255, 255, .4); }
.dlw-period-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--dlw-time-fill); transform-origin: center bottom; }
.dlw-period-label { color: var(--dlw-ink); font-size: 10px; line-height: 1.5; white-space: nowrap; }
.dlw-time-card .dlw-time-photo { grid-column: 2; grid-row: 1; min-width: 0; min-height: 0; border-radius: 16px; background: #d7d1c9 url('assets/desktop-lifestyle/time-moment.webp?v=1.0.0') center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.dlw-time-photo .sub-screen-slot-img { position: absolute; inset: 0; }
/* The whole photo is the picker; the outline glyph clashed with user photos. */
.dlw-time-photo-mark, .dlw-photo-mark { display: none !important; }
.dlw-time-photo-mark { position: absolute; place-items: center; right: 7px; bottom: 7px; width: 22px; height: 22px; padding: 4px; box-sizing: border-box; color: #fff; border-radius: 50%; background: rgba(35, 32, 34, .42); }
.dlw-time-photo-mark svg { display: block; width: 100%; height: 100%; }
.dlw-time-photo:focus-visible { outline: 2px solid var(--dlw-accent); outline-offset: 3px; }
html[data-appearance="dark"] .dlw-time-card { --dlw-time-fill: #dca6c1; }
html[data-appearance="dark"] .dlw-period-track { background: rgba(238, 218, 228, .18); }
.dlw-note-copy, .dlw-keepsake-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 54px;
    padding: 3px 23px 3px 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}
.dlw-kicker { font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .12em; color: var(--dlw-muted); }
.dlw-note-text { font-size: 13px; line-height: 1.6; letter-spacing: .025em; overflow-wrap: anywhere; }
.dlw-note-mark { position: absolute; right: 0; top: 8px; width: 13px; height: 13px; color: var(--dlw-muted); opacity: .75; }
.dlw-note-mark svg, .dlw-photo-mark svg, .dlw-edit-button svg { display: block; width: 100%; height: 100%; }
.dlw-date { display: grid; justify-items: center; align-content: center; border-left: 1px solid var(--dlw-line); padding-left: 12px; font-variant-numeric: tabular-nums; }
.dlw-date-month { color: var(--dlw-muted); font-size: 9px; line-height: 1.5; letter-spacing: .12em; }
.dlw-date-day { font-size: 29px; line-height: 1.1; font-weight: 500; letter-spacing: -.04em; }
.dlw-date-week { color: var(--dlw-muted); font-size: 9px; line-height: 1.5; letter-spacing: .06em; }

.dlw-time-card .dlw-note-copy { grid-column: 2; grid-row: 2; min-height: 0; padding: 0 17px 0 1px; }
.dlw-time-card .dlw-note-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-height: 30px; font-size: 10px; line-height: 15px; letter-spacing: 0; }
.dlw-time-card .dlw-note-mark { width: 11px; height: 11px; top: 10px; }

.dlw-daybook { display: grid; grid-template-columns: 1.05fr 1fr; gap: 14px; min-width: 0; align-items: stretch; color: var(--dlw-ink); }
.dlw-mood-photo {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 140px;
    padding: 0;
    overflow: hidden;
    /* Photos meet the wallpaper directly, without a themed frame or shadow. */
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 22px 22px 8px 22px;
    color: #fff;
    background-color: #90a896;
    background-image: var(--dlw-photo);
    background-size: cover;
    background-position: center 57%;
    box-shadow: none;
    cursor: pointer;
    text-align: left;
}
.dlw-mood-photo-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* Only the caption and upload glyph need contrast; keep the photo itself clear. */
.dlw-mood-photo-caption { position: absolute; z-index: 1; left: 10px; bottom: 10px; box-sizing: border-box; max-width: calc(100% - 46px); padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: #273341; font-size: 12px; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; text-shadow: none; }
.dlw-photo-mark { position: absolute; z-index: 1; right: 8px; bottom: 10px; box-sizing: border-box; width: 24px; height: 24px; padding: 5px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: #273341; }
.dlw-checklist { display: flex; flex-direction: column; min-width: 0; padding: 9px 11px; border-radius: 18px; }
.dlw-checklist-head { display: flex; justify-content: space-between; align-items: center; gap: 4px; min-height: 25px; }
.dlw-edit-button { display: grid; place-items: center; width: 28px; height: 28px; padding: 7px; border: 0; border-radius: 9px; background: transparent; color: var(--dlw-muted); cursor: pointer; }
.dlw-check-empty, .dlw-check-row { box-sizing: border-box; display: flex; align-items: center; gap: 7px; width: 100%; min-height: 28px; padding: 4px 0; border: 0; border-bottom: 1px solid var(--dlw-line); background: transparent; color: var(--dlw-muted); font: inherit; text-align: left; cursor: pointer; }
.dlw-check-empty:last-child, .dlw-check-row:last-child { border-bottom: 0; }
.dlw-check-add { flex: 0 0 14px; font-size: 14px; text-align: center; opacity: .7; }
.dlw-check-placeholder { font-size: 10px; line-height: 1.5; }
.dlw-check-placeholder:empty { flex: 1; }
.dlw-check-input { flex: 0 0 13px; width: 13px; height: 13px; margin: 0; accent-color: var(--dlw-accent); }
.dlw-check-text { min-width: 0; font-size: 11px; line-height: 1.5; color: var(--dlw-ink); overflow-wrap: anywhere; }
.dlw-check-row.is-done .dlw-check-text { text-decoration: line-through; opacity: .6; }

.desktop-third-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(180px, auto);
    gap: 22px 22px;
    min-width: 0;
    flex: 0 0 auto;
    align-items: stretch;
}
#home-screen #desktop-third-shortcuts {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(76px, auto);
    gap: 20px 8px;
}
.dlw-gallery-section { display: contents; }
#home-screen .dlw-third-slot { grid-column: 1; grid-row: 2; display: flex; }
#home-screen .desktop-third-fill .dlw-photo-mosaic {
    display: grid;
    grid-column: 2;
    grid-row: 1 / 3;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 3px;
    height: auto;
    min-height: 390px;
    width: 100%;
    margin: 0;
    padding: 5px;
    align-items: stretch;
    border: 1px solid var(--dlw-edge);
    border-radius: 26px;
    background: var(--dlw-soft);
    box-shadow: 0 6px 20px var(--dlw-shadow), inset 0 1px 0 rgba(255, 255, 255, .4);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-sizing: border-box;
}
#home-screen .dlw-photo-mosaic .sub-screen-trio-frame {
    display: block;
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    transform: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}
#home-screen .dlw-photo-mosaic .sub-screen-trio-frame--left { grid-column: 1; grid-row: 1; border-radius: 20px 20px 0 0; }
#home-screen .dlw-photo-mosaic .sub-screen-trio-frame--mid { grid-column: 1; grid-row: 2; }
#home-screen .dlw-photo-mosaic .sub-screen-trio-frame--right { grid-column: 1; grid-row: 3; border-radius: 0 0 20px 20px; }
#home-screen .dlw-photo-mosaic .sub-screen-trio-photo { box-sizing: border-box; width: 100%; height: 100%; padding: 0; aspect-ratio: auto; border-radius: inherit; }
#home-screen .dlw-photo-mosaic .sub-screen-slot-hint { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 11px; letter-spacing: 0; }
#home-screen .dlw-photo-mosaic .sub-screen-slot-hint::before { content: '+'; font-size: 20px; line-height: 1; font-weight: 400; }
#home-screen .dlw-photo-mosaic .sub-screen-slot.has-img .sub-screen-slot-hint { display: none; }
#home-screen .dlw-photo-mosaic .sub-screen-slot:focus-visible { outline: 2px solid var(--dlw-accent); outline-offset: -4px; }
.dlw-keepsake { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 180px; padding: 15px 15px 10px; gap: 8px; border-radius: 24px; box-shadow: 0 6px 20px var(--dlw-shadow), inset 0 1px 0 rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(24px) saturate(110%); backdrop-filter: blur(24px) saturate(110%); cursor: pointer; }
.dlw-keepsake-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dlw-keepsake-head .dlw-kicker { font-size: 10px; letter-spacing: .06em; }
.dlw-keepsake-symbol { width: 16px; height: 16px; color: var(--dlw-muted); }
.dlw-keepsake-symbol svg { width: 100%; height: 100%; }
.dlw-keepsake-date { display: grid; justify-items: start; align-content: center; padding-top: 3px; font-variant-numeric: tabular-nums; }
.dlw-keepsake-date .dlw-date-week { display: none; }
.dlw-keepsake-count { font-size: clamp(27px, 8.8vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; }
.dlw-keepsake-unit, .dlw-keepsake-origin { font-size: 9px; line-height: 1.5; color: var(--dlw-muted); }
.dlw-keepsake-origin { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.dlw-keepsake-empty { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 8px 0; }
.dlw-keepsake-empty-title { font-size: 16px; font-weight: 500; line-height: 1.5; }
.dlw-keepsake-add { align-self: flex-start; padding: 6px 9px; color: var(--dlw-ink); border: 1px solid var(--dlw-line); border-radius: 9px; background: rgba(255, 255, 255, .24); font-size: 11px; line-height: 1.5; }
.dlw-keepsake-copy { min-height: 44px; margin-top: auto; padding: 8px 17px 0 0; border-top: 1px solid var(--dlw-line); }
.dlw-keepsake-text { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; text-wrap: balance; }
.dlw-keepsake-copy .dlw-kicker { font-size: 9px; letter-spacing: .08em; }

.dlw-editor-overlay { position: absolute; inset: 0; z-index: 11000; display: flex; align-items: center; justify-content: center; padding: 18px; box-sizing: border-box; background: rgba(24, 36, 31, .3); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); color: var(--dlw-ink); font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.dlw-editor-overlay[hidden] { display: none; content-visibility: hidden; }
.dlw-editor-sheet { box-sizing: border-box; width: 100%; max-width: 380px; max-height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border: 1px solid var(--dlw-edge); border-radius: 24px; background: var(--dlw-surface); padding: 20px; box-shadow: 0 16px 48px var(--dlw-shadow); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.dlw-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.dlw-editor-head h2 { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 500; }
.dlw-editor-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--dlw-soft); color: var(--dlw-muted); font-size: 24px; cursor: pointer; }
.dlw-editor-fields { display: flex; flex-direction: column; gap: 14px; }
.dlw-editor-field { display: flex; flex-direction: column; gap: 6px; }
.dlw-editor-label { font-size: 12px; line-height: 1.5; color: var(--dlw-muted); }
.dlw-editor-input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--dlw-line); border-radius: 12px; background: var(--dlw-soft); color: var(--dlw-ink); font-family: inherit; font-size: 16px; line-height: 1.5; }
textarea.dlw-editor-input { resize: vertical; min-height: 108px; }
.dlw-editor-photo-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.dlw-editor-photo-button { min-height: 38px; padding: 7px 10px; border: 1px solid var(--dlw-line); border-radius: 10px; background: transparent; color: var(--dlw-ink); font-size: 12px; cursor: pointer; }
.dlw-editor-photo-status { flex: 0 0 100%; font-size: 11px; line-height: 1.5; color: var(--dlw-muted); }
.dlw-editor-error { margin: 12px 0 0; color: #9a3f3f; font-size: 12px; line-height: 1.5; }
.dlw-editor-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.dlw-editor-cancel, .dlw-editor-save { min-height: 42px; min-width: 76px; padding: 9px 18px; border-radius: 12px; border: 1px solid var(--dlw-line); color: var(--dlw-ink); background: var(--dlw-soft); font-size: 14px; cursor: pointer; }
.dlw-editor-save { color: var(--dlw-surface); background: var(--dlw-ink); }
.dlw-editor-sheet :disabled { cursor: wait; opacity: .6; }
.dlw-file-input { position: absolute; width: 1px; height: 1px; opacity: .001; overflow: hidden; pointer-events: none; }
.dlw-note-copy:focus-visible, .dlw-mood-photo:focus-visible, .dlw-check-empty:focus-visible, .dlw-edit-button:focus-visible, .dlw-keepsake-copy:focus-visible, .dlw-editor-sheet :focus-visible { outline: 2px solid var(--dlw-accent); outline-offset: 3px; }
.dlw-note-copy:active, .dlw-mood-photo:active, .dlw-edit-button:active, .dlw-keepsake-copy:active { opacity: .82; }
@media (hover: hover) and (pointer: fine) {
    .dlw-edit-button:hover, .dlw-editor-close:hover { background: var(--dlw-soft); }
}
@media (max-width: 360px) {
    .dlw-time-card { padding-inline: 10px; column-gap: 12px; }
    .dlw-note-text { font-size: 12px; }
    .dlw-daybook { gap: 10px; }
    .dlw-checklist { padding-inline: 9px; }
    .dlw-mood-photo { min-height: 132px; }
    .desktop-third-board { gap: 20px 14px; }
    .dlw-keepsake { padding-inline: 12px; }
    #home-screen #desktop-third-shortcuts { gap: 20px 4px; }
}
@media (max-height: 700px) {
    #home-screen .home-desktop-page-main .main-card { --main-card-cover-h: 46px; --main-card-avatar: 60px; }
    #home-screen .home-desktop-page-main .card-content { padding: 36px 16px 8px; }
    #home-screen .home-desktop-page-main .card-meta-below-avatar { gap: 4px; padding-bottom: 0; }
    #home-screen .home-desktop-page-main .home-content { padding-top: 12px; }
    #home-screen .dlw-main-slot { margin-top: 12px; }
    .dlw-time-card { height: 120px; padding: 9px 12px; column-gap: 14px; grid-template-rows: minmax(0, 1fr) 30px; }
    .dlw-time-progress { gap: 5px; }
    .dlw-period { gap: 3px; }
}
@media (max-height: 600px) {
    #home-screen .home-desktop-page-main .main-card { --main-card-cover-h: 28px; --main-card-avatar: 42px; }
    #home-screen .home-desktop-page-main .card-content { padding: 24px 12px 4px; }
    #home-screen .home-desktop-page-main .card-meta-below-avatar { gap: 1px; }
    #home-screen .home-desktop-page-main .home-top-row { --home-quick-btn-size: 60px; }
    #home-screen .home-desktop-page-main .function-icon { width: 44px; height: 44px; }
    #home-screen .home-desktop-page-main .function-icon.theme-icon-wrap--custom { width: 44px !important; height: 44px !important; max-height: 44px !important; }
    #home-screen .home-desktop-page-main .home-content { padding-top: 8px; }
    #home-screen .dlw-main-slot { margin-top: 8px; }
    #home-screen .home-desktop-page-main .home-scroll-wrapper { padding-bottom: 2px; }
    .dlw-time-card { height: 100px; padding: 7px 10px; column-gap: 12px; }
    .dlw-time-title { font-size: 9px; }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .dlw-time-card, .dlw-checklist, .dlw-keepsake, .dlw-editor-sheet { background: var(--dlw-surface); }
    .dlw-time-card, .dlw-keepsake, #home-screen #desktop-couple-slot .ss2cn-card { background: var(--lmg-sub-component-bg, rgba(248, 251, 249, .9)); }
    html[data-appearance="dark"] :is(.dlw-time-card, .dlw-keepsake, #home-screen #desktop-couple-slot .ss2cn-card) { background: var(--lmg-sub-component-bg, rgba(23, 31, 27, .94)); }
}
@media (prefers-reduced-motion: reduce) {
    .dlw-editor-overlay, .dlw-note-copy, .dlw-mood-photo, .dlw-keepsake-copy { transition: none; }
}
