/* 4 × 4 日时对话：按参考图制作，白底、浅灰时间胶囊与淡紫对话气泡。 */
.desktop-widget-widget-daily-dialog {
    width: 100%;
    height: 100%;
}

.desktop-widget-widget-daily-dialog .daily-dialog-widget {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    padding: 8.5% 8.5% 8%;
    border-radius: 28px;
    background: #fff;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.desktop-widget-widget-daily-dialog .daily-time-panel {
    display: flex;
    width: 82%;
    height: 24%;
    min-height: 78px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: center;
    border-radius: 999px;
    background: #e9e9e9;
    box-sizing: border-box;
}

.desktop-widget-widget-daily-dialog .daily-date {
    color: #96999d;
    font-size: clamp(12px, 2.4vw, 18px);
    font-weight: 650;
    letter-spacing: .2px;
}

.desktop-widget-widget-daily-dialog .daily-clock-row {
    display: flex;
    width: 82%;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.desktop-widget-widget-daily-dialog .daily-clock-star {
    color: #fff;
    font-size: clamp(22px, 5vw, 38px);
    line-height: 1;
}

.desktop-widget-widget-daily-dialog .daily-clock {
    color: #a7a8ab;
    font-family: "SF Mono", "Roboto Mono", monospace;
    font-size: clamp(26px, 6vw, 46px);
    font-weight: 700;
    letter-spacing: clamp(2px, .9vw, 7px);
    line-height: 1;
}

.desktop-widget-widget-daily-dialog .daily-divider {
    display: flex;
    width: 100%;
    height: 14%;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 3.5%;
}

.desktop-widget-widget-daily-dialog .daily-divider-line {
    height: 3px;
    flex: 1;
    background: #c9c9c9;
}

.desktop-widget-widget-daily-dialog .daily-divider-doodle {
    width: 23%;
    height: 70%;
    color: #707174;
}

.desktop-widget-widget-daily-dialog .daily-dialog-body {
    display: grid;
    min-height: 0;
    flex: 1;
    grid-template-columns: 36% 64%;
    align-items: center;
}

.desktop-widget-widget-daily-dialog .daily-avatar-area {
    position: relative;
    height: 70%;
    min-height: 126px;
}

.desktop-widget-widget-daily-dialog .daily-avatar {
    position: absolute;
    top: 4%;
    left: 9%;
    width: 48%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 2px solid #d9dce3;
    border-radius: 50%;
    background: #f1f2f5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
    cursor: pointer;
}

.desktop-widget-widget-daily-dialog .daily-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.72) contrast(.9) brightness(1.08);
}

.desktop-widget-widget-daily-dialog .daily-camera {
    position: absolute;
    right: -10%;
    bottom: -6%;
    display: grid;
    width: 30%;
    aspect-ratio: 1;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #8f9298;
    color: #fff;
    cursor: pointer;
}

.desktop-widget-widget-daily-dialog .daily-camera svg { width: 62%; height: 62%; }
.desktop-widget-widget-daily-dialog .daily-avatar-picker { display: none; }

.desktop-widget-widget-daily-dialog .daily-avatar-caption {
    position: absolute;
    top: 49%;
    left: 22%;
    color: #8d969b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(9px, 1.8vw, 14px);
    letter-spacing: .5px;
    white-space: nowrap;
}

.desktop-widget-widget-daily-dialog .daily-dot-field {
    position: absolute;
    right: 3%;
    bottom: 2%;
    width: 82%;
    height: 48%;
    opacity: .75;
    background-image: radial-gradient(#9ed9e7 1.6px, transparent 1.8px);
    background-size: 25px 25px;
}

.desktop-widget-widget-daily-dialog .daily-dot-field::before,
.desktop-widget-widget-daily-dialog .daily-dot-field::after {
    position: absolute;
    content: '○';
    color: #cfd4da;
    font-size: clamp(24px, 5vw, 40px);
}

.desktop-widget-widget-daily-dialog .daily-dot-field::before { top: 56%; left: -8%; }
.desktop-widget-widget-daily-dialog .daily-dot-field::after { top: 84%; left: 12%; font-size: clamp(16px, 3.4vw, 26px); }

.desktop-widget-widget-daily-dialog .daily-message-list {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 13%;
    padding: 0 1% 3% 0;
}

.desktop-widget-widget-daily-dialog .daily-message {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 29px;
    align-items: center;
    justify-content: center;
    padding: 3px 14% 3px 9%;
    border: 2px solid #dedee1;
    border-radius: 999px;
    box-sizing: border-box;
    color: #5c5d63;
    font-size: clamp(11px, 2.2vw, 17px);
    font-weight: 600;
    line-height: 1.2;
    outline: none;
    text-align: center;
    white-space: nowrap;
}

.desktop-widget-widget-daily-dialog .daily-message:focus { border-color: #c7c8cc; }
.desktop-widget-widget-daily-dialog .daily-message-top { background: #f1f1f1; }
.desktop-widget-widget-daily-dialog .daily-message-bottom {
    width: 158%;
    background: #e9eaf9;
}

.desktop-widget-widget-daily-dialog .daily-paperclip {
    position: absolute;
    top: -18%;
    right: 2%;
    width: 12%;
    height: auto;
    color: #a1a1a5;
    transform: rotate(12deg);
}

.desktop-widget-widget-daily-dialog .daily-message-bottom .daily-paperclip { top: -30%; }

.desktop-widget-preview-content.desktop-widget-widget-daily-dialog .daily-dialog-widget {
    transform: scale(.92);
    transform-origin: center center;
}
