/* Home shows one factual update and the existing dollar-rate line. */
.gm-today { margin: 22px 0 0; min-width: 0; }
.gm-today-line { display: block; margin: 0; font: 500 14px/1.5 var(--text); overflow-wrap: anywhere; }
.gm-today-line a { display: flex; align-items: center; width: fit-content; min-height: 44px; color: var(--lime); font-weight: 800; text-underline-offset: 3px; }
.gm-today .gm-trm-note { min-height: 44px; }
/* W57: counted progress and earned protection, using the existing scorecard palette. */
.gm-daily-goal{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:.4rem;margin-top:.75rem;text-align:left}
.gm-daily-goal svg{width:32px;height:32px;color:var(--ink,#141414)}
.gm-daily-goal>span{display:contents}.gm-daily-goal b{font-size:.8rem;overflow-wrap:normal}.gm-daily-goal small{display:block;grid-column:1/-1;font-size:.75rem;font-weight:400;line-height:1.35;margin-top:.2rem}
.gm-streak{color:#141414;border:2px solid #141414;border-radius:12px;background:#fff7e8;padding:1rem;margin:1rem 0;overflow-wrap:anywhere}
.gm-streak p{margin:.45rem 0}.gm-streak>small{display:block;line-height:1.5}
.gm-streak-badges{display:flex;flex-wrap:wrap;gap:.5rem;padding:0;list-style:none;margin:.75rem 0 0}
.gm-streak-badges li{border:2px solid #141414;border-radius:10px;background:#d7f64a;padding:.5rem;font-weight:800}
.gm-streak-badges small{display:block;font-weight:400}.gm-friend-streak{font-weight:700;margin:.5rem 0}

/* Compact earned progress; the explanation opens through explain.js. */
.gm-streak { padding: 10px 12px; }
.gm-streak-head { display: flex; align-items: center; gap: 8px; }
.gm-streak-flame { font-size: 36px; line-height: 1; }
.gm-streak-head strong { display: flex; align-items: baseline; gap: 6px; font: 900 38px/1 var(--cond); }
.gm-streak-head strong span { max-width: 70px; font: 800 12px/1.1 var(--text); }
.gm-streak-help { margin-left: auto; min-height: 44px; max-width: 90px; padding: 4px; border: 0; background: transparent; color: var(--ink); font: 700 12px/1.3 var(--text); text-decoration: underline; text-underline-offset: 3px; }
.gm-streak-milestone p { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin: 8px 0 5px; font-size: 12px; }
.gm-streak-milestone b { flex-shrink: 0; }
.gm-streak-progress { height: 8px; border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; background: #14141418; }
.gm-streak-progress > span { display: block; height: 100%; background: var(--lime); }
.gm-streak .gm-streak-freezes { display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; margin: 4px 0 0; font-size: 11px; }
.gm-streak-freezes a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; }
.gm-streak-badges { gap: 4px; margin-top: 0; }
.gm-streak-badges li { padding: 3px 6px; border-width: 1px; font-size: 11px; }
.gm-streak-badges small { display: inline; margin-left: 4px; font-size: inherit; }
.gm-bounties.is-compact { padding: 0; border-radius: 12px; background: var(--lime); color: var(--ink); }
.gm-bounties.is-compact > a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 12px; color: var(--ink); white-space: nowrap; text-decoration: none; font-size: 12px; }
.gm-bounties.is-compact > a b { margin-left: auto; font-size: 11px; }
.gm-bounties.is-compact > a > :last-child { font-size: 22px; line-height: 1; }
/* One contextual opportunity, sized to its contents. */
.gm-bounties.is-compact { display: inline-flex; flex-direction: column; width: fit-content; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; }
.gm-bounties.is-compact > a { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; min-height: 44px; padding: 5px 0; color: inherit; white-space: normal; overflow-wrap: anywhere; }
.gm-bounties.is-compact > a b { margin-left: 0; padding: 3px 6px; background: var(--lime); color: var(--ink); border-radius: 5px; white-space: nowrap; }
.gm-bounties.is-compact > small { font-size: 11px; }

.gm-streak .gm-streak-caption { margin: 5px 0; font-size: 12px; line-height: 1.4; }
