/* V14.7 — Trung tâm thông báo và nhật ký, tự thích ứng sáng/tối */
.tg147-wrap{--tg147-edge:rgba(221,176,101,.25);color:var(--text,#f0eee9);font-size:14px;padding:4px 0 24px}
.tg147-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:16px 0 20px}.tg147-header h2{margin:4px 0;color:var(--gold,#e6bd79);font-family:Georgia,serif}.tg147-header p{margin:0;color:var(--muted,#b1b8c2)}.tg147-kicker{font-size:10px;font-weight:800;letter-spacing:2px;color:var(--gold,#deb676)}
.tg147-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}
.tg147-metric{border:1px solid var(--tg147-edge);border-radius:12px;padding:16px;min-width:0;background:var(--surface-2,rgba(172,134,74,.06))}.tg147-metric span{display:block;font-size:12px;color:var(--muted,#c1bbc0);line-height:1.45}.tg147-metric strong{display:block;margin-top:8px;font:700 29px Georgia,serif;color:var(--gold,#e8c286)}
.tg147-toolbar,.tg147-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}.tg147-tabs{display:flex;flex-wrap:wrap;gap:7px}.tg147-tabs .is-active{border-color:var(--gold,#e6bd79);background:rgba(215,167,89,.16);color:var(--gold,#e6bd79)}.tg147-unread{display:flex;align-items:center;gap:7px;font-size:13px;white-space:nowrap}.tg147-unread input{width:16px;height:16px;accent-color:#cba062}.tg147-meta{color:var(--muted,#b1b8c2);font-size:12px}
.tg147-list{display:grid;gap:9px;margin-top:17px}.tg147-item{display:flex;gap:13px;align-items:flex-start;padding:15px;border:1px solid var(--tg147-edge);border-radius:13px;background:var(--surface-2,rgba(15,26,40,.65))}.tg147-item.is-read{opacity:.72}.tg147-type{flex:0 0 auto;display:inline-block;border:1px solid var(--tg147-edge);color:var(--gold,#e6bd79);border-radius:18px;padding:5px 10px;font-size:11px;font-weight:700}.tg147-item-body{min-width:0;flex:1}.tg147-item-body strong{display:block;color:var(--text,#f6e8cc);font-size:15px}.tg147-item-body p{margin:7px 0;line-height:1.6;overflow-wrap:anywhere}.tg147-item-body small{display:block;color:var(--muted,#acb5c1)}.tg147-item-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.tg147-link{color:var(--gold,#efc584);font-weight:700;font-size:12px}.tg147-link-hint{font-size:12px;color:var(--muted,#b1b8c2)}.tg147-item-actions button{font-size:12px!important;padding:7px 10px!important}.tg147-empty{border:1px dashed var(--tg147-edge);padding:26px;text-align:center;border-radius:10px;color:var(--muted)}.tg147-footnote{margin-top:18px;font-size:12px;color:var(--muted);line-height:1.7}
@media(max-width:800px){.tg147-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tg147-header{align-items:flex-start}.tg147-header h2{font-size:21px}}@media(max-width:460px){.tg147-item{flex-direction:column}.tg147-stats{gap:8px}.tg147-metric{padding:12px}.tg147-metric strong{font-size:23px}.tg147-header{flex-wrap:wrap}.tg147-toolbar{align-items:flex-start}}
