/* m265 (BP-293): "No time to post every week?" (#time). Before / After row labels with their result, the weekday
   calendar under each week, the real profile line, whole post titles. Sizes use the card's own type scale (15 px labels,
   12.5 px small text; phones 14 px and 12 px). Undo: build without m265. */

/* 1 and 3: Before / After, and the result of each row on its right */
#time .m207-card .m265-who { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
#time .m207-card .m265-tag { flex: none; padding: 2px 9px; border-radius: 999px; font-size: inherit; font-weight: 800; line-height: 1.25; color: rgb(28 40 0 / .62); background: rgb(28 40 0 / .07); }
#time .m207-card .m265-tag--us { color: var(--bp-green-950, #1c2800); background: var(--bp-lime, #c2f542); }
#time .m207-card .m265-who__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#time .m207-card .m265-n { flex: none; margin-left: auto; font-weight: 700; color: rgb(28 40 0 / .55); opacity: var(--m207-r, 1); }
#time .m207-card .m265-n--us { padding: 2px 10px; border-radius: 999px; color: var(--bp-green-950, #1c2800); background: rgb(194 245 66 / .55); }

/* 2 the weekday calendar: 5 marks under each week. Before: week 1 has 1 post. After: a post every weekday; each
   week's marks fill with the scroll as its designed post comes in (--m207-f, set on the cell by the driver). */
#time .m207-card .m157-wk__c > .m265-days { opacity: 1; }
#time .m265-days { position: absolute; left: 0; right: 0; top: calc(100% + 6px); display: flex; justify-content: center; gap: 4px; pointer-events: none; }
#time .m265-days > i { position: relative; width: 8px; height: 8px; border-radius: 2px; box-shadow: inset 0 0 0 1.25px rgb(28 40 0 / .2); }
#time .m265-days > i.is-p::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgb(28 40 0 / .45); }
#time .m157-wk__c--us .m265-days > i.is-p::after { background: var(--bp-green, #5c7900); opacity: clamp(0, calc(var(--m207-f, 1) * 6 - var(--k, 0) - 0.6), 1); }
#time .m265-days > i:nth-child(2) { --k: 1; }
#time .m265-days > i:nth-child(3) { --k: 2; }
#time .m265-days > i:nth-child(4) { --k: 3; }
#time .m265-days > i:nth-child(5) { --k: 4; }
/* room for the marks under each row of weeks */
#time .m207-card .m157-wk__grid { row-gap: 14px; }
#time .m207-card .m157-wk__who--us { margin-top: 12px !important; }

/* 4 the real profile */
#time .m265-real { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid rgb(28 40 0 / .1); }
#time .m265-real__ph { display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
#time .m265-real__tx { margin: 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#time .m265-real__who, #time .m265-real__num { font-size: 12.5px; font-weight: 600; line-height: 1.35; color: rgb(28 40 0 / .6); }
#time .m265-real__who b { font-size: 15px; font-weight: 700; color: var(--bp-ink, #1c2800); }
#time .m265-real__num b { font-size: 15px; font-weight: 800; color: var(--bp-green, #5c7900); white-space: nowrap; }
#time .m265-arrow { margin: 0 1px; color: var(--bp-green, #5c7900); font-weight: 800; }
#time .m265-nums { white-space: nowrap; }

/* 5 the green check sits at the bottom right corner, off the post title */
#time .m207-card .m197-c--ds .m157-wk__ok { top: auto; bottom: -6px; right: -6px; }

@media (max-width: 899px) {
  #time .m207-card .m265-who { gap: 6px; }
  #time .m207-card .m265-tag { padding: 1px 7px; }
  #time .m265-real { gap: 10px; padding-top: 10px; }
  #time .m265-real__ph { width: 36px; height: 36px; }
}
@media (max-width: 599px) {
  #time .m207-card .m265-n__w, #time .m265-real__co { display: none; }
  #time .m207-card .m265-n { font-size: 13px; }
  #time .m207-card .m265-n--us { padding: 1px 8px; }
  #time .m207-card .m197-ds__m { object-fit: contain; object-position: center; }
  #time .m207-card .m197-ds { background: #fff; }
  #time .m207-card .m197-c--ds .m157-wk__ok { bottom: -5px; right: -5px; width: 18px; height: 18px; }
  #time .m207-card .m197-c--ds .m157-wk__ok svg { width: 11px; height: 11px; }
  #time .m207-card .m197-ds__tag { left: 4px; transform: none; }
  #time .m265-days { top: calc(100% + 4px); gap: 3px; }
  #time .m265-days > i { width: 6px; height: 6px; border-radius: 1.5px; box-shadow: inset 0 0 0 1px rgb(28 40 0 / .22); }
  #time .m207-card .m157-wk__grid { row-gap: 12px; }
  #time .m207-card .m157-wk__who--us { margin-top: 6px !important; }
  #time .m265-real { margin-top: 2px; }
  #time .m265-real__who, #time .m265-real__num { font-size: 12px; }
  #time .m265-real__who b, #time .m265-real__num b { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #time .m157-wk__c--us .m265-days > i.is-p::after { opacity: 1; }
}
