init-feed-chrome
/* init-feed-chrome — the shared feed box-model chrome (.bp-item / .bp-feed grid, glass lid, ritual stamp, scale-driven 12-col grid + responsive). Single source for EVERY feed: being-profile and world-feed both <link> this chip, so there's no inline duplication. Extracted from thing-feed-shared.js injectFeedChromeStyles. */ :is(#being-profile, .bp-scope) .bp-item { background: var(--swatch-feed-body); border-radius: var(--radius-lg, 8px); padding: 1rem 1.25rem 1.4rem; font-size: 0.74rem; line-height: 1.5; color: var(--text); overflow: hidden; min-height: 0; cursor: grab; user-select: none; -webkit-user-select: none; position: relative; box-shadow: 0 2px 8px rgba(0,0,0,.40), 0 1px 3px rgba(0,0,0,.25); display: flex; flex-direction: column; align-items: center; justify-content: center; } :is(#being-profile, .bp-scope) .bp-item:active { cursor: grabbing; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-subu"] { background: var(--swatch-feed-subu); box-shadow: 0 12px 32px rgba(0,0,0,.65), 0 4px 10px rgba(86,86,86,.40), inset 0 1px 0 rgba(139,139,139,.30); } :is(#being-profile, .bp-scope) .bp-feed > .bp-item.bp-rel-like-out, :is(#being-profile, .bp-scope) .bp-feed > .bp-item.bp-rel-like-in { background: var(--swatch-feed-like); box-shadow: 0 8px 24px rgba(0,0,0,.60), 0 3px 8px rgba(112,112,112,.50), inset 0 1px 0 rgba(139,139,139,.25); } :is(#being-profile, .bp-scope) .bp-feed > .bp-item.bp-rel-follow { background: var(--swatch-feed-follow); box-shadow: 0 8px 24px rgba(0,0,0,.60), 0 3px 8px rgba(86,86,86,.40), inset 0 1px 0 rgba(139,139,139,.20); } :is(#being-profile, .bp-scope) .bp-feed > .bp-item.bp-rel-repost { background: var(--swatch-feed-repost); box-shadow: 0 8px 24px rgba(0,0,0,.60), 0 3px 8px rgba(112,112,112,.40), inset 0 1px 0 rgba(167,167,167,.20); } :is(#being-profile, .bp-scope) .bp-feed > .bp-item.bp-rel-rel { background: var(--swatch-feed-rel); box-shadow: 0 8px 24px rgba(0,0,0,.60), 0 3px 8px rgba(86,86,86,.40), inset 0 1px 0 rgba(139,139,139,.20); } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type^="app.bsky.feed.post"] { background: rgba(167,167,167,.04); } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-reply="1"] { background: rgba(86,86,86,.05); } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-tiny"] { box-shadow: 0 7px 20px rgba(0,0,0,.52), 0 2px 6px rgba(0,0,0,.34); } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-l"], :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-xl"], :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-xxl"] { background: var(--swatch-feed-large); box-shadow: 0 1px 4px rgba(0,0,0,.28); } :is(#being-profile, .bp-scope) .bp-item-content { position: relative; z-index: 0; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; } :is(#being-profile, .bp-scope) .bp-item-content::-webkit-scrollbar { width: 5px; } :is(#being-profile, .bp-scope) .bp-item-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: var(--radius-sm, 3px); } /* Lid opacity is scale-dependent (shared by all feeds): subu blips are OPAQUE lids (the colored lid IS the card face), everything larger is a TRANSPARENT lid so the content shows. One model, one knob. */ :is(#being-profile, .bp-scope) .bp-item { --bp-lid-opacity: 0; } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-subu"] { --bp-lid-opacity: 1; } :is(#being-profile, .bp-scope) .bp-item-glass { position: absolute; inset: 0; z-index: 1; background: inherit; opacity: var(--bp-lid-opacity); border-radius: inherit; pointer-events: none; } :is(#being-profile, .bp-scope) .bp-item-stamp { z-index: 2; } :is(#being-profile, .bp-scope) .bp-heart { display: flex; align-items: center; justify-content: center; padding: 0.4rem 0 0.6rem; color: var(--swatch-feed-heart); filter: drop-shadow(0 0 10px rgba(139,139,139,.45)); pointer-events: none; } :is(#being-profile, .bp-scope) .bp-heart i { display: inline-block; font-size: 3.6rem; transform-origin: center 60%; will-change: transform; } :is(#being-profile, .bp-scope) .bp-item.bp-item--lifted { will-change: transform; box-shadow: 0 22px 52px rgba(0,0,0,.72), 0 8px 18px rgba(0,0,0,.42); } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-subu"].bp-item--lifted { box-shadow: 0 24px 56px rgba(0,0,0,.78), 0 8px 18px rgba(86,86,86,.55), inset 0 1px 0 rgba(139,139,139,.55); } :is(#being-profile, .bp-scope) .bp-feed { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 80px; grid-auto-flow: dense; gap: 1rem; overflow: visible; padding: 0.5rem 2rem 2rem; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item { grid-column: 1 / -1; grid-row: span 2; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-subu"] { grid-column: span 2; grid-row: span 1; padding: 0; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-tiny"] { grid-column: span 3; grid-row: span 1; padding: 0.25rem 0.5rem; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-s"] { grid-column: span 3; grid-row: span 3; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-m"] { grid-column: span 6; grid-row: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-l"] { grid-column: span 6; grid-row: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-xl"] { grid-column: span 9; grid-row: span 5; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-xxl"] { grid-column: span 12; grid-row: span 7; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-tab"] { grid-column: 1 / -1; grid-row: span 3; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="scroll"][data-scale="stb-s"] { grid-column: span 3; grid-row: span 3; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="scroll"][data-scale="stb-m"] { grid-column: span 6; grid-row: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="scroll"][data-scale="stb-l"] { grid-column: span 9; grid-row: span 5; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="scroll"][data-scale="stb-xl"] { grid-column: 1 / -1; grid-row: span 6; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="scroll"][data-scale="stb-xxl"] { grid-column: 1 / -1; grid-row: span 8; } /* Thing Box LABELS (.bp-box) — the box says what a Thing IS; the label never needs more than half the row. Overrides the content-forward scroll spans above so big chronicles/scrolls pair 2-up instead of sitting alone on 75%/full-width rows. */ :is(#being-profile, .bp-scope) .bp-feed > .bp-item.bp-box[data-scale="stb-l"] { grid-column: span 6; grid-row: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item.bp-box[data-scale="stb-xl"] { grid-column: span 6; grid-row: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item.bp-box[data-scale="stb-xxl"] { grid-column: span 6; grid-row: span 5; } @media (max-width: 1199px) { :is(#being-profile, .bp-scope) .bp-feed { grid-template-columns: repeat(8, 1fr); grid-auto-rows: 72px; padding: 0.5rem 1rem 2rem; gap: 0.75rem; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-subu"] { grid-column: span 1; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-tiny"] { grid-column: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-s"] { grid-column: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-m"] { grid-column: span 8; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-l"] { grid-column: span 8; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-xl"] { grid-column: span 8; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-xxl"] { grid-column: span 8; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="scroll"][data-scale="stb-s"] { grid-column: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="scroll"][data-scale="stb-m"] { grid-column: span 8; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="scroll"][data-scale="stb-l"] { grid-column: span 8; } /* Box labels stay 2-up on medium screens too. */ :is(#being-profile, .bp-scope) .bp-feed > .bp-item.bp-box[data-scale="stb-m"] { grid-column: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item.bp-box[data-scale="stb-l"] { grid-column: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item.bp-box[data-scale="stb-xl"] { grid-column: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item.bp-box[data-scale="stb-xxl"] { grid-column: span 4; } } @media (max-width: 799px) { :is(#being-profile, .bp-scope) .bp-feed { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 64px; padding: 0.5rem 0.6rem 2rem; gap: 0.5rem; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-subu"] { grid-column: span 1; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-tiny"] { grid-column: span 2; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-s"] { grid-column: span 2; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-m"] { grid-column: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-l"] { grid-column: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-xl"] { grid-column: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-scale="stb-xxl"] { grid-column: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="scroll"][data-scale="stb-s"] { grid-column: span 2; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="scroll"][data-scale="stb-m"] { grid-column: span 4; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="scroll"][data-scale="stb-l"] { grid-column: span 4; } } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="video"] { position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--swatch-ui-0e0e0e) var(--bp-vid-cover) center/cover no-repeat; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="video"]::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.72) 80%); z-index: 0; } :is(#being-profile, .bp-scope) .bp-feed > .bp-item[data-type="video"] > * { position: relative; z-index: 1; } :is(#being-profile, .bp-scope) .bp-video-icon-cover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: rgba(255,255,255,0.12); pointer-events: none; z-index: 0; } :is(#being-profile, .bp-scope) .bp-feed > .bp-empty, :is(#being-profile, .bp-scope) .bp-feed > .bp-more, :is(#being-profile, .bp-scope) .bp-feed > .bp-loading { grid-column: 1 / -1 } :is(#being-profile, .bp-scope) .bp-item-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; } :is(#being-profile, .bp-scope) .bp-item-glyph { font-size: 1rem; color: var(--link) } :is(#being-profile, .bp-scope) .bp-item-title { color: var(--accent); font-family: "hanken-grotesk", sans-serif; font-weight: 700; font-style: normal; flex: 1; } :is(#being-profile, .bp-scope) .bp-item-icon { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; color: #555; font-family: config-mono-vf, sans-serif; font-variation-settings: "wght" 200; cursor: inherit; flex-shrink: 0; white-space: nowrap; overflow: hidden; max-width: 5rem; text-overflow: ellipsis; } :is(#being-profile, .bp-scope) .bp-item-body { margin-top: 0.4rem; color: #ccc; font-family: "hanken-grotesk", sans-serif; font-weight: 700; font-style: normal; } :is(#being-profile, .bp-scope) .bp-item-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.5rem; } :is(#being-profile, .bp-scope) .bp-item-time { color: #888; font-family: config-mono-vf, sans-serif; font-variation-settings: "wght" 200; font-size: 0.78rem; cursor: inherit; } :is(#being-profile, .bp-scope) .bp-item-stamp { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 5px 5px 0 0; padding: 4px 12px 3px; display: flex; flex-direction: column; align-items: center; gap: 0; white-space: nowrap; pointer-events: none; background: rgba(255,255,255,0.07); } :is(#being-profile, .bp-scope) .bp-item-day { font-family: config-mono-vf, ui-monospace, monospace; font-variation-settings: "wght" 800; font-weight: 700; font-size: 0.68rem; letter-spacing: 0.06em; color: rgba(225,225,225,0.35); line-height: 1.2; } :is(#being-profile, .bp-scope) .bp-item-clock { font-family: config-mono-vf, ui-monospace, monospace; font-variation-settings: "wght" 100; font-size: 0.55rem; letter-spacing: 0.04em; color: rgba(225,225,225,0.28); line-height: 1.3; } :is(#being-profile, .bp-scope) .bp-stamp-icon { font-size: 1.2rem; line-height: 1; /* Icon contrast is per-FACE, not global: dark cards get a bright icon, light faces (subu lids, rel stamps) get the dark box-background grey. */ color: rgba(235, 235, 235, 0.92); } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-subu"] .bp-stamp-icon, :is(#being-profile, .bp-scope) .bp-item.bp-rel-like-out .bp-stamp-icon, :is(#being-profile, .bp-scope) .bp-item.bp-rel-like-in .bp-stamp-icon, :is(#being-profile, .bp-scope) .bp-item.bp-rel-follow .bp-stamp-icon, :is(#being-profile, .bp-scope) .bp-item.bp-rel-repost .bp-stamp-icon, :is(#being-profile, .bp-scope) .bp-item.bp-rel-rel .bp-stamp-icon { color: var(--swatch-feed-body, #121212); } /* Interaction DIRECTION (in/out arrows beside hearts/reposts/follows) — always readable against the stamp it sits on. */ :is(#being-profile, .bp-scope) .bp-stamp-icon .bp-rel-dir { color: inherit; opacity: 1; font-weight: 700; } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-subu"] .bp-heart, :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-subu"] .bp-repost, :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-subu"] .bp-follow { color: rgba(20, 20, 20, 0.85); filter: none; } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-subu"] { border-radius: 8px 8px 0 0; } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-subu"] .bp-item-stamp { inset: 0; width: auto; height: auto; transform: none; border-radius: 0; padding: 6px 8px; justify-content: center; } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-subu"] .bp-stamp-icon { font-size: 1.4rem; } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-subu"] .bp-item-day { color: #000; } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-subu"] .bp-item-clock { color: rgba(0,0,0,.60); } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-subu"] .bp-heart { padding: 0; height: 100%; } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-subu"] .bp-heart i { font-size: 1.6rem; } :is(#being-profile, .bp-scope) .bp-repost { display: flex; align-items: center; justify-content: center; padding: 0; height: 100%; color: var(--swatch-feed-repost-icon); pointer-events: none; } :is(#being-profile, .bp-scope) .bp-repost i { display: inline-block; font-size: 1.6rem; transform-origin: center; will-change: transform, filter; } @keyframes bp-prism { from { filter: hue-rotate(0deg); } to { filter: hue-rotate(360deg); } } :is(#being-profile, .bp-scope) .bp-repost i[data-spinning] { animation: bp-prism 2.4s linear infinite; } :is(#being-profile, .bp-scope) .bp-follow { display: flex; align-items: center; justify-content: center; padding: 0; height: 100%; color: var(--swatch-feed-follow-icon); pointer-events: none; } :is(#being-profile, .bp-scope) .bp-follow i { display: inline-block; font-size: 1.6rem; transform-origin: center bottom; will-change: transform; } :is(#being-profile, .bp-scope) .bp-item.bp-rel-like-out .bp-item-stamp, :is(#being-profile, .bp-scope) .bp-item.bp-rel-like-in .bp-item-stamp { background: var(--swatch-feed-like-stamp); } :is(#being-profile, .bp-scope) .bp-item.bp-rel-follow .bp-item-stamp { background: var(--swatch-feed-follow-icon); } :is(#being-profile, .bp-scope) .bp-item.bp-rel-repost .bp-item-stamp { background: var(--swatch-feed-repost-icon); } :is(#being-profile, .bp-scope) .bp-item.bp-rel-rel .bp-item-stamp { background: var(--swatch-feed-rel-stamp); } :is(#being-profile, .bp-scope) .bp-item-truncated { color: var(--link); cursor: pointer; font-size: 0.75rem } :is(#being-profile, .bp-scope) .bp-scroll-html { margin-top: 0.4rem; color: #ddd; font-size: 0.85rem; line-height: 1.55 } :is(#being-profile, .bp-scope) .bp-scroll-html h1, :is(#being-profile, .bp-scope) .bp-scroll-html h2, :is(#being-profile, .bp-scope) .bp-scroll-html h3 { color: var(--accent); font-family: 'dazzle-unicase', sans-serif; letter-spacing: 0.04em; margin: 0.6rem 0 0.3rem; } :is(#being-profile, .bp-scope) .bp-scroll-html h1 { font-size: 1.1rem } :is(#being-profile, .bp-scope) .bp-scroll-html h2 { font-size: 1rem } :is(#being-profile, .bp-scope) .bp-scroll-html h3 { font-size: 0.9rem } :is(#being-profile, .bp-scope) .bp-scroll-html p { margin: 0.4rem 0 } :is(#being-profile, .bp-scope) .bp-scroll-html ul { margin: 0.3rem 0 0.4rem 1rem; padding: 0 } :is(#being-profile, .bp-scope) .bp-scroll-html li { margin: 0.15rem 0; list-style: '◦ ' } :is(#being-profile, .bp-scope) .bp-scroll-html code { background: rgba(167,167,167,0.08); color: var(--link); padding: 0.05rem 0.3rem; border-radius: var(--radius-sm, 3px); font-size: 0.78rem; } :is(#being-profile, .bp-scope) .bp-scroll-html pre { background: rgba(167,167,167,0.05); border: 1px solid var(--swatch-ui-3a1a1a); border-radius: var(--radius-sm, 4px); padding: 0.5rem 0.7rem; overflow-x: auto; font-size: 0.78rem; } :is(#being-profile, .bp-scope) .bp-scroll-html a { color: var(--link) } :is(#being-profile, .bp-scope) .bp-scroll-html strong { color: #fff } :is(#being-profile, .bp-scope) .bp-scroll-html em { color: var(--swatch-ui-f5e6c4) } :is(#being-profile, .bp-scope) .bp-scroll-html hr { border: 0; border-top: 1px dashed var(--swatch-ui-3a1a1a); margin: 0.6rem 0 } :is(#being-profile, .bp-scope) .bp-item[data-type="scroll"] .bp-item-stamp { position: absolute; top: 0; right: 0; bottom: auto; left: auto; transform: none; border-radius: 0 5px 0 5px; flex-direction: row; align-items: center; gap: 0.4rem; padding: 3px 10px 4px; } :is(#being-profile, .bp-scope) .bp-item[data-type="scroll"] .bp-item-content { overflow-y: visible; max-height: none; padding-right: 3.4rem; } :is(#being-profile, .bp-scope) .bp-scroll-expand { display: flex; justify-content: center; width: 100%; margin-top: 0.5rem; color: var(--link); background: transparent; border: none; font-size: 1rem; line-height: 1; cursor: pointer; opacity: 0.6; } :is(#being-profile, .bp-scope) .bp-scroll-expand:hover { opacity: 1; } :is(#being-profile, .bp-scope) .bp-video { width: 100%; max-height: 400px; border-radius: var(--radius-sm, 4px); background: #000; margin-top: 0.4rem; } :is(#being-profile, .bp-scope) .bp-loading { color: #555; text-align: center; padding: 2rem } :is(#being-profile, .bp-scope) .bp-empty { color: #555; text-align: center; padding: 1rem; font-style: italic } :is(#being-profile, .bp-scope) .bp-feed { overflow-anchor: none } :is(#being-profile, .bp-scope) .bp-more { display: block; width: 100%; padding: 0.75rem; margin-top: 0.5rem; background: transparent; color: var(--link); border: 1px solid var(--swatch-ui-3a1a1a); border-radius: var(--radius-sm, 4px); cursor: pointer; font-family: inherit; font-size: 0.8rem; } :is(#being-profile, .bp-scope) .bp-more:hover { background: rgba(167,167,167,0.08) }
/* Scale-variety text cards — shared by being pages and world feeds (moved here from being-profile.js in the style collapse). */ :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-s"] .bp-s-title { font-family: "hanken-grotesk", sans-serif; font-weight: 700; color: var(--accent); font-size: 0.88rem; line-height: 1.4; } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-s"] .bp-s-body { color: var(--text); font-size: 0.78rem; line-height: 1.4; margin-top: 0.3rem; opacity: 0.75; } :is(#being-profile, .bp-scope) .bp-item-pullquote { font-family: "hanken-grotesk", sans-serif; font-weight: 700; font-style: normal; font-size: 0.92rem; line-height: 1.5; color: var(--text, #c3c3c3); flex: 1; } /* Scroll tables — GFM tables from mdToHtml (chronicle tarot pulls etc.) */ :is(#being-profile, .bp-scope) .bp-scroll-html table { border-collapse: collapse; width: 100%; margin: 0.5rem 0; font-size: 0.72rem; overflow-x: auto; display: block; } :is(#being-profile, .bp-scope) .bp-scroll-html th, :is(#being-profile, .bp-scope) .bp-scroll-html td { border: 1px solid rgba(255,255,255,0.12); padding: 2px 7px; text-align: left; white-space: nowrap; } :is(#being-profile, .bp-scope) .bp-scroll-html th { color: var(--accent); font-weight: 700; } :is(#being-profile, .bp-scope) .bp-scroll-html h1:first-child, :is(#being-profile, .bp-scope) .bp-scroll-html h2:first-child, :is(#being-profile, .bp-scope) .bp-scroll-html h3:first-child { margin-top: 0; } /* Box card — the Thing Box label: Title/Subtitle + rounded icon-row label */ :is(#being-profile, .bp-scope) .bp-box-card { display: flex; flex-direction: column; gap: 0.35rem; justify-content: center; height: 100%; } :is(#being-profile, .bp-scope) .bp-box-title { font-family: "hanken-grotesk", sans-serif; font-weight: 700; font-size: 1.15rem; line-height: 1.3; color: var(--text, #e1e1e1); } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-l"] .bp-box-title, :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-xl"] .bp-box-title, :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-xxl"] .bp-box-title { font-size: 1.6rem; } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-s"] .bp-box-title { font-size: 0.95rem; } :is(#being-profile, .bp-scope) .bp-box-subtitle { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent, var(--swatch-page-accent)); } :is(#being-profile, .bp-scope) .bp-box-label { margin-top: 0.45rem; border: 1px solid rgba(255,255,255,0.13); border-radius: 10px; padding: 0.5rem 0.65rem; display: flex; flex-direction: column; gap: 0.3rem; max-width: 100%; overflow: hidden; } :is(#being-profile, .bp-scope) .bp-box-row { display: flex; align-items: center; gap: 0.45em; font-size: 0.72rem; color: #a7a7a7; min-width: 0; } :is(#being-profile, .bp-scope) .bp-box-row i { font-size: 0.85rem; color: #707070; flex-shrink: 0; } :is(#being-profile, .bp-scope) .bp-box-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :is(#being-profile, .bp-scope) .bp-box-mono { font-family: config-mono-vf, ui-monospace, monospace; font-size: 0.66rem; letter-spacing: 0.02em; } :is(#being-profile, .bp-scope) .bp-item[data-scale="stb-s"] .bp-box-label { display: none; } /* Box cards: stamp rides bottom-center like every other card, overriding the scroll-type top-right variant. */ :is(#being-profile, .bp-scope) .bp-item.bp-box .bp-item-stamp { position: absolute; top: auto; bottom: 0; left: 50%; right: auto; transform: translateX(-50%); border-radius: 5px 5px 0 0; flex-direction: column; align-items: center; } /* Hover a data point → its GEM reveals as a pill; click opens the Gems palette focused there. */ :is(#being-profile, .bp-scope) [data-gem] { cursor: pointer; position: relative; } :is(#being-profile, .bp-scope) [data-gem]:hover::after { content: attr(data-gem); position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: config-mono-vf, ui-monospace, monospace; font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: #121212; background: #c3c3c3; border-radius: 999px; padding: 1px 8px; pointer-events: none; z-index: 3; } :is(#being-profile, .bp-scope) [data-gem]:hover { color: #e1e1e1; }