/* The Doctorpedia family's marks in the apps (18 November 2026; assets/brand/mark.js draws them). A mark stands on its own,
   in the page's ink, with no tile around it. Each place that held an old tile keeps its holder, which now only centres the mark.
   The ink is the page's own: BiteSized's --cl-ink, Ask Doctorpedia's --l-ink, Dose's --t-100 (one of them is set in each app);
   a page may set --bsm-ink and --bsm-page itself. The same file serves the three apps. */

.bsm { display: block; flex: none; overflow: visible; }
.bsm-ink { fill: var(--bsm-ink, var(--cl-ink, var(--l-ink, var(--t-100, #1A1A1A)))); }
/* the outlined mark (dpMark opts.outline): the same shapes as a thin line of the ink, the same width at every size */
.bsm--outline .bsm-ink { fill: none; stroke: var(--bsm-ink, var(--cl-ink, var(--l-ink, var(--t-100, #1A1A1A)))); stroke-width: var(--bsm-line, 1.4px); stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* a pixel: the ink moved 8 percent of the way toward the page, so it is a touch lighter on light and a touch darker on dark */
.bsm-px { fill: var(--bsm-px, color-mix(in srgb, var(--bsm-ink, var(--cl-ink, var(--l-ink, var(--t-100, #1A1A1A)))) 92%, var(--bsm-page, var(--cl-page, var(--l-page, var(--s-0, #F7F7F5)))))); shape-rendering: crispEdges; opacity: 0; animation: bsm-px 2.6s step-end both; }
/* it comes up in two steps, stays, and goes in two steps, the way the field's pixels hold a few levels */
@keyframes bsm-px { 0% { opacity: 0; } 14% { opacity: .5; } 28% { opacity: 1; } 72% { opacity: .5; } 86%, 100% { opacity: 0; } }
.bsm.is-gliding .bsm-dots { display: none; }
@media (prefers-reduced-motion: reduce) { .bsm-dots { display: none; } }
html.a11y-reduce-motion .bsm-dots, html[data-motion="reduced"] .bsm-dots { display: none; }

/* the holders: what drew an old tile now only holds the mark */
html body [data-bsm] { display: inline-grid; place-items: center; width: auto !important; height: auto !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: inherit; }
html body .lg-pulse[data-bsm] { animation: none; }

/* on a dark panel beside a light page (BiteSized's and Ask's sign-in), the mark is the panel's light ink */
.sf-art, .one-art { --bsm-ink: #F2F2F0; --bsm-page: #141414; }
