/* ===================== NHẬT KÝ (.dy-) ===================== */
.dy-root { height: 100%; background: var(--bg); }
.dy-scroll { height: 100%; overflow-y: auto; }
.dy-col { max-width: 640px; margin: 0 auto; padding: 20px 14px 40px; display: flex; flex-direction: column; gap: 14px; }
.dy-top { display: flex; flex-direction: column; gap: 14px; }
.dy-profile { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); flex-wrap: wrap; }
.dy-profile small { color: var(--text-3); }
.dy-back { display: inline-flex; gap: 6px; align-items: center; color: var(--text-2); font-weight: 600; width: 100%; }
.dy-compose, .dy-post { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 14px; box-shadow: var(--shadow-1); }
.dy-compose__row { display: flex; gap: 12px; }
.dy-ta { flex: 1; resize: none; border: 0; outline: 0; background: var(--surface-2); border-radius: var(--r-lg); padding: 11px 14px; color: var(--text); min-height: 46px; }
.dy-compose__bar { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.dy-spacer { flex: 1; }
.dy-tool { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill); color: var(--success); font-weight: 600; font-size: var(--fs-sm); }
.dy-tool:hover { background: var(--hover); }
.dy-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0 56px; }
.dy-thumb { position: relative; width: 76px; height: 76px; border-radius: var(--r-md); overflow: hidden; }
.dy-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dy-thumb button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .55); display: grid; place-items: center; }
.dy-feed { display: flex; flex-direction: column; gap: 14px; }
.dy-post__head { display: flex; align-items: center; justify-content: space-between; }
.dy-post__who { display: flex; align-items: center; gap: 12px; text-align: left; }
.dy-post__who span { display: flex; flex-direction: column; line-height: 1.3; }
.dy-post__who small { color: var(--text-3); display: inline-flex; gap: 4px; align-items: center; }
.dy-post__text { margin: 12px 2px 4px; white-space: pre-wrap; word-break: break-word; line-height: 1.55; font-size: var(--fs-md); }
.dy-gallery { display: grid; gap: 4px; margin-top: 10px; border-radius: var(--r-lg); overflow: hidden; }
.dy-gallery.n1 { grid-template-columns: 1fr; } .dy-gallery.n2, .dy-gallery.n4 { grid-template-columns: 1fr 1fr; } .dy-gallery.n3 { grid-template-columns: 2fr 1fr 1fr; }
.dy-img { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-3); }
.dy-gallery.n1 .dy-img { aspect-ratio: auto; max-height: 460px; }
.dy-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur); }
.dy-img:hover img { transform: scale(1.03); }
.dy-stats { display: flex; justify-content: space-between; padding: 10px 4px 0; color: var(--text-3); font-size: var(--fs-sm); }
.dy-stats .kit-icon { color: #ef4466; vertical-align: -2px; }
.dy-actions { display: flex; gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.dy-act { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 8px; height: 38px; border-radius: var(--r-md); color: var(--text-2); font-weight: 600; }
.dy-act:hover { background: var(--hover); }
.dy-act.is-on { color: #ef4466; }
.dy-comments { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.dy-comment { display: flex; gap: 8px; }
.dy-comment__body { background: var(--surface-2); padding: 8px 12px; border-radius: var(--r-lg); display: flex; flex-direction: column; font-size: var(--fs-sm); min-width: 0; }
.dy-comment__body strong { cursor: pointer; }
.dy-comment__body span { word-break: break-word; }
.dy-comment__body small { color: var(--text-3); display: flex; gap: 10px; }
.dy-comment__body small button { color: var(--text-3); } .dy-comment__body small button:hover { color: var(--danger); }
.dy-comment-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.dy-comment-input { flex: 1; height: 38px; padding: 0 14px; border-radius: var(--r-pill); border: 0; outline: 0; background: var(--surface-2); color: var(--text); }
.dy-comment-input:focus { box-shadow: 0 0 0 2px var(--accent); }
