.daily-tip { flex: 1 1 320px; margin: 0 clamp(.5rem, 2vw, 2rem); max-width: 640px; min-width: 0; position: relative; }
.daily-tip[hidden] { display: none; }
.daily-tip__trigger { align-items: center; background: var(--surface-soft); border: 1px solid var(--border); border-radius: .75rem; color: var(--text-main); cursor: pointer; display: flex; gap: .38rem; height: 42px; max-width: 100%; padding: 0 .8rem; width: 100%; }
.daily-tip__trigger strong { color: var(--primary); flex: 0 0 auto; font-size: .72rem; letter-spacing: .02em; text-transform: uppercase; }
.daily-tip__bulb { flex: 0 0 auto; }
.daily-tip__short { font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.daily-tip__popover { background: var(--surface); border: 1px solid var(--border); border-radius: .85rem; box-shadow: var(--shadow-md); left: 0; margin-top: .7rem; max-height: min(520px, calc(100vh - var(--header-height) - 2rem)); overflow: auto; padding: 1.15rem; position: absolute; top: 100%; width: min(520px, calc(100vw - 2rem)); z-index: 100; }
.daily-tip__popover::before { background: var(--surface); border-left: 1px solid var(--border); border-top: 1px solid var(--border); content: ""; height: 12px; left: 28px; position: absolute; top: -7px; transform: rotate(45deg); width: 12px; }
.daily-tip__popover h2 { font-size: 1.15rem; line-height: 1.3; margin: .4rem 2rem .55rem 0; }
.daily-tip__eyebrow { color: var(--primary); font-size: .72rem; font-weight: 850; letter-spacing: .04em; margin: 0; text-transform: uppercase; }
.daily-tip__detail { color: var(--text-muted); font-size: .9rem; line-height: 1.6; margin: 0; }
.daily-tip__close { background: transparent; border: 0; color: var(--text-muted); cursor: pointer; font-size: 1.5rem; height: 38px; line-height: 1; position: absolute; right: .55rem; top: .55rem; width: 38px; }
.daily-tip__meta { display: grid; font-size: .78rem; gap: .3rem .65rem; grid-template-columns: auto 1fr; margin: .9rem 0 0; }
.daily-tip__meta dt { color: var(--text-muted); font-weight: 700; }
.daily-tip__meta dd { margin: 0; }
.daily-tip__source { color: var(--primary); display: inline-block; font-size: .82rem; font-weight: 750; margin-top: .8rem; }

@media (max-width: 819px) {
  .site-header { flex-wrap: wrap; height: auto; min-height: var(--header-height); }
  .daily-tip { flex: 1 0 100%; margin: .2rem 0 0; max-width: none; order: 3; }
  .daily-tip__trigger { height: 34px; padding-inline: .65rem; }
  .daily-tip__trigger strong { font-size: .65rem; }
  .daily-tip__short { font-size: .75rem; }
  .daily-tip__popover { left: 50%; max-height: calc(100vh - 120px); position: fixed; top: 104px; transform: translateX(-50%); width: calc(100vw - 24px); }
  .daily-tip__popover::before { display: none; }
}

@media (min-width: 820px) and (max-width: 1100px) {
  .daily-tip__trigger strong { display: none; }
}
