/* Pulse landing page — hand-finished pass. Loaded after site.css; everything here is scoped
   to the home page's own classes. Marginalia (Caveat) is decorative and aria-hidden. */

.page-home {
  --sec-pad: clamp(56px, 8vw, 112px);
  --panel-l: linear-gradient(180deg, rgba(255, 255, 255, .036), rgba(255, 255, 255, 0) 140px), rgba(19, 23, 41, .74);
  --ink-soft: rgba(255, 210, 122, .16);
}

/* ---------- shared section furniture ---------- */
.page-home .eyebrow { color: var(--text-2); margin-bottom: 16px; }
.page-home .eyebrow .num { font-family: var(--font-mono); color: var(--mint); letter-spacing: .08em; }
.page-home .eyebrow::before { background: var(--mint); }
.l-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.8vw, 3rem); letter-spacing: -.035em; line-height: 1.06; max-width: 18em; }
.l-lede { margin-top: 18px; font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.7; color: var(--text-2); max-width: 36em; }
.l-head { margin-bottom: clamp(28px, 4vw, 48px); }

/* fallback illustration styles (site.css may define these; they win thanks to :where) */
:where(.page-home .vignette) { display: grid; place-items: center; flex: none; color: var(--tc, var(--violet-2)); border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; background: radial-gradient(closest-side, color-mix(in srgb, var(--tc, var(--violet-2)) 14%, transparent), transparent 92%); }
:where(.page-home .vignette svg) { overflow: visible; }
:where(.page-home .vignette :is(path, rect, circle)) { stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
:where(.page-home .vignette .v-soft) { opacity: .5; }
:where(.page-home .vignette .v-ink) { stroke: var(--hand-ink); }
:where(.page-home .vignette .v-fill) { fill: var(--ink-soft); }
:where(.page-home .vignette .v-dot) { fill: currentColor; stroke: none; }
:where(.page-home .vignette .v-bar) { stroke-width: 7; }
:where(.page-home .vignette .v-cursor) { fill: var(--hand-ink); stroke: none; }
:where(.page-home .vignette .v-hand) { font: 700 15px var(--font-hand); fill: var(--hand-ink); stroke: none; }
:where(.page-home .tone-violet) { --tc: var(--violet-2); } :where(.page-home .tone-mint) { --tc: var(--mint); } :where(.page-home .tone-sky) { --tc: var(--sky); }
:where(.page-home .tone-amber) { --tc: var(--amber); } :where(.page-home .tone-ember) { --tc: var(--ember); }

/* odometer digits */
.roll, .roll-static { display: inline-block; }
.roll { height: 1.15em; overflow: hidden; vertical-align: bottom; line-height: 1.15; }
.roll-col { display: flex; flex-direction: column; }
.roll-col > span { display: block; height: 1.15em; line-height: 1.15em; }
.roll.up .roll-col { animation: l-roll-up .64s var(--ease-spring) var(--d, 0ms) both; }
.roll.down .roll-col { animation: l-roll-down .64s var(--ease-spring) var(--d, 0ms) both; }
@keyframes l-roll-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes l-roll-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

/* hand-drawn check ring (setup checklist) */
.hand-check { width: 30px; height: 30px; display: block; overflow: visible; }
.hand-check path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hc-ring { stroke: var(--text-3); stroke-width: 1.7; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hc-tick { stroke: var(--mint); stroke-width: 2.8; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* ---------- one note at a time ---------- */
html.notes-managed main .hand-note { transition: opacity .45s var(--ease-out), translate .5s var(--ease-out); }
html.notes-managed main .hand-note[data-quiet] { opacity: 0; translate: 0 4px; }

/* ---------- hero tweaks ---------- */
.hero-status > span:last-child { min-width: 0; }
.hero-status #hero-greet { color: var(--text); }
.page-home .note-mock { right: 62%; }
.page-home .ticker { padding-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Blip on the section rules ---------- */
.beat-rule { position: relative; width: calc(100% - var(--gutter) * 2); max-width: 1200px; margin: 0 auto; }
.beat-rule .ecg-rule { width: 100%; }
.beat-blip { position: absolute; left: 9%; bottom: 10px; width: 58px; pointer-events: none; transition: translate .55s var(--ease-spring); }
.beat-blip .blip { width: 58px; }
.beat-rule.is-right .beat-blip { left: auto; right: 9%; }
.beat-rule.is-right .ecg-rule { transform: scaleX(-1); }
.beat-rule.is-on .beat-blip { translate: 0 -4px; }
.beat-note { position: absolute; left: calc(9% + 66px); bottom: 34px; white-space: nowrap; font-size: 23px; }
.beat-rule.is-right .beat-note { left: auto; right: calc(9% + 66px); flex-direction: row-reverse; }
@media (max-width: 640px) {
  .beat-blip { left: 4%; width: 46px; } .beat-blip .blip { width: 46px; }
  .beat-rule.is-right .beat-blip { right: 4%; }
  .beat-note { left: calc(4% + 52px); bottom: 26px; font-size: 19px; white-space: normal; max-width: calc(92% - 56px); }
  .beat-note .hand-note-text { flex: 1 1 auto; }
  .beat-rule.is-right .beat-note { right: calc(4% + 52px); }
}

/* ---------- 01 today: live digest ---------- */
.today { padding: calc(var(--sec-pad) * .8) 0 var(--sec-pad); }
.today-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.digest2 { display: flex; flex-direction: column; padding: 30px clamp(20px, 3vw, 36px) 22px; border-radius: var(--r-lg); background: var(--panel-l); border: 1px solid var(--line); }
.digest2 .tape { left: 46%; top: -11px; opacity: .75; }
.dg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.dg-title { display: flex; flex-direction: column; gap: 10px; }
.dg-title .eyebrow { margin: 0; }
.dg-date { font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 600; letter-spacing: -.015em; }
.digest2 .sticker { font-size: 11.5px; flex: none; }
.dg-body p { font-size: clamp(1.02rem, 1.3vw, 1.16rem); line-height: 1.8; color: var(--text-2); max-width: 62ch; }
.dg-body b { color: var(--text); font-weight: 700; }
.dg-body .num { font-family: var(--font-body); font-variant-numeric: tabular-nums; }
.dg-q { color: var(--text); quotes: '\201C' '\201D'; }
.dg-q.is-fresh { animation: l-fresh 1.6s var(--ease-out); }
@keyframes l-fresh { 0% { background: rgba(255, 210, 122, .22); } 100% { background: transparent; } }
.dg-ago { color: var(--text-3); white-space: nowrap; }
.dg-aside { display: flex; justify-content: flex-end; margin-top: auto; padding-top: 18px; }
.dg-note { font-size: 22px; }
.dg-note .hand-arrow { transform: rotate(14deg) translateY(-8px); }

.tally { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 12px; background: rgba(9, 11, 22, .55); border: 1px solid var(--line); }
.tally-title { font-size: 1rem; font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 14px; }
.tally-title small { font: 500 .8rem var(--font-mono); color: var(--text-3); }
.tally-list { margin: 0; display: grid; gap: 2px; }
.tally-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-strong); }
.tally-row:last-child { border-bottom: 0; }
.tally-row dt { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: .94rem; }
.tally-row dt::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.tally-row dd { margin: 0; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: -.02em; }
.tally-row dd .num { font-family: var(--font-display); }
.tally-row.is-bump dd { animation: l-bump .7s var(--ease-out); }
@keyframes l-bump { 30% { color: var(--c); } }
.tally-foot { margin-top: auto; padding-top: 14px; font-size: .84rem; color: var(--text-3); line-height: 1.55; }

/* ---------- 02 steps: setup checklist ---------- */
.steps { padding: var(--sec-pad) 0; }
.steps-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.steps-copy { position: sticky; top: calc(var(--nav-h) + 40px); }
.steps-blip { display: inline-block; width: 84px; margin-top: 28px; margin-left: -6px; transition: translate .5s var(--ease-spring); }
.steps-blip.is-party { translate: 0 -6px; }
.setup { position: relative; padding: 26px clamp(18px, 3vw, 32px) 18px; border-radius: var(--r-lg); background: var(--panel-l); border: 1px solid var(--line); }
.setup-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.setup-title { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.setup-score { font-family: var(--font-body); color: var(--mint); }
.setup-time { font-size: .84rem; color: var(--text-3); }
.setup-meter { height: 9px; border-radius: 6px 9px 7px 8px; background: var(--ink-700); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); margin-bottom: 8px; }
.setup-meter > span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--mint)); transition: width .8s var(--ease-out); }
.setup-list { list-style: none; margin: 0; padding: 0; }
.setup-item { display: grid; grid-template-columns: 30px 84px minmax(0, 1fr); gap: 4px 18px; align-items: center; padding: 20px 0; border-bottom: 1px dashed var(--line-strong); }
.setup-item:last-child { border-bottom: 0; }
.setup-mark { align-self: start; margin-top: 30px; }
.setup-art .vignette { width: 84px; height: 84px; }
.setup-art .vignette svg { width: 72px; height: 72px; }
.setup-text h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; transition: color .4s; }
.setup-text p { color: var(--text-2); font-size: .95rem; line-height: 1.6; }
.setup-link { display: inline-block; margin-top: 8px; font-weight: 700; font-size: .92rem; color: var(--sky); text-decoration: underline; text-decoration-color: rgba(76, 201, 255, .35); text-underline-offset: 4px; }
.setup-link:hover { text-decoration-color: var(--sky); }
.setup.is-drawn .hc-ring { transition: stroke-dashoffset .9s var(--ease-out); stroke-dashoffset: 0; }
.setup.is-drawn .setup-item:nth-child(2) .hc-ring { transition-delay: .12s; }
.setup.is-drawn .setup-item:nth-child(3) .hc-ring { transition-delay: .24s; }
.setup-item.is-done .hc-ring { stroke: rgba(61, 245, 176, .4); }
.setup-item.is-done .hc-tick { transition: stroke-dashoffset .45s var(--ease-out); stroke-dashoffset: 0; }
.setup-item.is-done .setup-text h4 { color: var(--text); }
.setup-item:not(.is-done) .setup-text h4 { color: var(--text-2); }

/* ---------- 03 features: module index + illustrated cards ---------- */
.page-home .features { padding: var(--sec-pad) 0 calc(var(--sec-pad) * .5); }
.feat-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.mod-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mod-chip { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 10px; border-radius: 14px; text-decoration: none; color: var(--text-2); font-size: .8rem; font-weight: 600; text-align: center; transition: background var(--dur-1), color var(--dur-1); }
.mod-chip:hover, .mod-chip:focus-visible { background: rgba(160, 170, 255, .06); color: var(--text); }
.mod-chip .vignette { width: 58px; height: 58px; }
.mod-chip .vignette svg { width: 50px; height: 50px; transition: transform .4s var(--ease-spring); }
.mod-chip:hover .vignette svg { transform: rotate(-4deg) scale(1.06); }
.mod-chip:nth-child(even) .vignette { rotate: 2deg; }
.vig-copy { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.vig-copy > :not(.vig-art) { grid-column: 2; }
.vig-art { grid-row: 1 / span 2; width: 56px; height: 56px; margin: -4px 0 0 -6px; }
.vig-art svg { width: 50px; height: 50px; }
.vig-copy h4 .vig-ico { display: none; }
.vig-copy h4 { margin-bottom: 4px; }

/* ---------- 04 dashboard: annotated preview ---------- */
.dash2 { position: relative; padding: var(--sec-pad) 0; background: linear-gradient(180deg, transparent, rgba(124, 92, 255, .05) 35%, transparent); }
.dash2-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px clamp(28px, 5vw, 64px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.dash2-head .l-lede { margin: 0; }
.dash2-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.ann-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ann-legend li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 12px 12px 12px 8px; margin-left: -8px; border-radius: 14px; transition: background var(--dur-2); }
.ann-legend li.is-active { background: rgba(255, 210, 122, .06); }
.ann-legend b { display: block; font-size: 1rem; margin-bottom: 2px; }
.ann-legend p { color: var(--text-2); font-size: .92rem; line-height: 1.55; }
.ann-num, .ann-pin { display: inline-grid; place-items: center; width: 30px; height: 30px; font: 700 20px/1 var(--font-hand); color: var(--hand-ink); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M15.6 3.2c6.6-.2 11.3 4.8 11 11.2-.3 6.6-5.2 11.4-11.6 11.2C8.6 25.4 3.4 20.6 3.6 14 3.8 7.8 8.4 3.4 15.8 3.6' fill='none' stroke='%23ffd27a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.ann-legend li.is-active .ann-num { background-color: rgba(255, 210, 122, .14); border-radius: 50%; }
.ann-cta { margin-top: 28px; display: grid; justify-items: start; gap: 12px; }
.ann-cta-note { font-size: .88rem; color: var(--text-3); }

.ann-group { position: relative; min-width: 0; }
.dprev2 {
  container-type: inline-size; position: relative; border-radius: 18px; overflow: hidden; background: var(--ink-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 0 0 1px rgba(160, 170, 255, .16), 0 50px 90px -40px rgba(0, 0, 0, .95), 0 30px 120px -50px rgba(124, 92, 255, .55);
  font-size: 12px; line-height: 1.45; color: var(--text); rotate: -.6deg;
}
.dp-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: rgba(5, 6, 13, .8); border-bottom: 1px solid var(--line); }
.dp-bar > i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-600); }
.dp-crumb { margin-left: 8px; font: 500 11px var(--font-mono); color: var(--text-3); }
.dp-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: 11px; }
.dp-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 6px var(--mint); }
.dp-live b { font-weight: 500; color: var(--text-3); font-size: 10px; }
.dp-body { display: grid; grid-template-columns: 128px minmax(0, 1fr); }
.dp-side { display: flex; flex-direction: column; gap: 1px; padding: 12px 8px; border-right: 1px solid var(--line); background: rgba(9, 11, 22, .6); }
.dp-brand { display: flex; align-items: center; gap: 7px; font: 700 13px var(--font-display); padding: 0 6px 10px; }
.dp-sec { font-size: 10px; color: var(--text-3); padding: 10px 8px 4px; }
.dp-nav { position: relative; display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 7px; color: var(--text-2); font-size: 11.5px; white-space: nowrap; }
.dp-nav i { display: inline-flex; color: var(--text-3); }
.dp-nav i svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.dp-nav em { margin-left: auto; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.dp-nav.is-on { color: var(--text); background: rgba(124, 92, 255, .2); }
.dp-nav.is-on i { color: var(--violet-2); }
.dp-main { padding: 16px; display: grid; gap: 10px; min-width: 0; }
.dp-hello b { display: block; font: 700 20px/1.1 var(--font-display); letter-spacing: -.02em; }
.dp-hello > span { color: var(--text-2); font-size: 11.5px; }
.dp-hello .num { font-size: 11px; }
.dp-on i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--mint); }
.dp-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; }
.dp-card, .dp-tiles { position: relative; border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 80px), var(--ink-850); border: 1px solid var(--line); padding: 12px 13px; min-width: 0; }
.dp-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.dp-card-head > span:first-child { display: grid; gap: 3px; }
.dp-card-head b { font-size: 12.5px; }
.dp-eyebrow { font: 600 9px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.dp-sky { color: var(--sky); }
.dp-digest .tape { left: 44%; top: -9px; width: 54px; height: 16px; opacity: .7; }
.dp-digest .sticker { font-size: 9.5px; padding: 3px 7px 4px; }
.dp-digest #dp-date { font: 600 13px var(--font-display); }
.dp-digest p { color: var(--text-2); font-size: 11.5px; line-height: 1.65; }
.dp-digest p b { color: var(--text); }
.dp-digest p u { color: var(--sky); text-decoration: none; font-weight: 700; }
.dp-mint { color: var(--mint); }
.dp-meter { height: 6px; border-radius: 5px; background: var(--ink-700); overflow: hidden; margin-bottom: 10px; }
.dp-meter span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--violet), var(--mint)); }
.dp-done { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 11px; margin-bottom: 8px; }
.dp-done b { color: var(--text); }
.dp-party { width: 40px; flex: none; }
.dp-chips { display: flex; flex-wrap: wrap; gap: 3px 8px; padding-top: 8px; border-top: 1px dashed var(--line-strong); }
.dp-chips span { font-size: 10.5px; color: var(--text-2); }
.dp-chips span::before { content: '\2713'; color: var(--mint); margin-right: 3px; font-weight: 800; }
.dp-signal { display: grid; grid-template-columns: 120px minmax(0, 1fr) 150px; align-items: center; gap: 10px; padding: 8px 13px; }
.dp-sig-l { display: grid; gap: 2px; }
.dp-sig-l b { font: 600 22px/1 var(--font-display); }
.dp-sig-l span, .dp-sig-r small { color: var(--text-3); font-size: 10px; }
.dp-sig-r { display: grid; gap: 2px; font-size: 11px; color: var(--text-2); min-width: 0; }
.dp-sig-r span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-ecg { display: block; width: 100%; height: 54px; }
.dp-row-2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.dp-tiles { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: visible; }
.dp-tile { position: relative; display: grid; gap: 1px; padding: 10px 12px 8px; min-width: 0; }
.dp-tile:nth-child(odd) { border-right: 1px solid var(--line); }
.dp-tile:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.dp-tile small { color: var(--text-2); font-size: 10.5px; }
.dp-tile b { font: 700 20px/1.15 var(--font-display); letter-spacing: -.02em; }
.dp-tile b.num { font-family: var(--font-display); }
.dp-tile > span { color: var(--text-3); font-size: 9.5px; }
.dp-tile svg { width: 100%; height: 16px; margin-top: 2px; }
.dp-tile svg path { fill: none; stroke: var(--c); stroke-width: 1.6; vector-effect: non-scaling-stroke; opacity: .8; }
.dp-tile.is-bump b .roll { color: var(--c); }
.dp-stream { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: var(--mint); padding: 1px 7px; border-radius: 999px; background: rgba(61, 245, 176, .1); }
.dp-stream i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.dp-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 128px; overflow: hidden; }
.dp-feed li { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--text-2); min-width: 0; }
.dp-feed li.is-new { animation: l-feed-in .5s var(--ease-out); }
.dp-feed-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.dp-feed-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes l-feed-in { from { opacity: 0; transform: translateY(-6px); background: rgba(255, 210, 122, .08); } }

/* pins + notes on the screenshot */
.ann-pin { position: absolute; z-index: 2; font-style: normal; width: 26px; height: 26px; font-size: 18px; background-color: rgba(9, 11, 22, .85); border-radius: 50%; transition: transform .35s var(--ease-spring), background-color .3s; }
.dp-digest .ann-pin { right: -8px; bottom: -8px; }
.dp-check .ann-pin { right: -8px; top: -8px; }
.dp-signal .ann-pin { left: -8px; top: -10px; }
.dp-tiles .ann-pin { left: -8px; bottom: -8px; }
.ann-group[data-active="1"] .ann-pin[data-ann="1"], .ann-group[data-active="2"] .ann-pin[data-ann="2"],
.ann-group[data-active="3"] .ann-pin[data-ann="3"], .ann-group[data-active="4"] .ann-pin[data-ann="4"] { transform: scale(1.18); background-color: #3a2f16; }
.dp-card, .dp-tiles { transition: box-shadow .4s; }
.ann-group[data-active="1"] .dp-digest, .ann-group[data-active="2"] .dp-check, .ann-group[data-active="3"] .dp-signal, .ann-group[data-active="4"] .dp-tiles { box-shadow: 0 0 0 1.5px rgba(255, 210, 122, .45); }

.ann-note { position: absolute; z-index: 5; white-space: nowrap; opacity: 0; translate: 0 6px; transition: opacity .4s var(--ease-out), translate .5s var(--ease-out); font-size: 23px; }
.ann-group.is-focus[data-active="1"] .ann-note[data-ann="1"], .ann-group.is-focus[data-active="2"] .ann-note[data-ann="2"],
.ann-group.is-focus[data-active="3"] .ann-note[data-ann="3"], .ann-group.is-focus[data-active="4"] .ann-note[data-ann="4"] { opacity: 1; translate: 0 0; }
.ann-note[data-ann="1"] { left: 10%; top: -46px; }
.ann-note[data-ann="1"] .hand-arrow { margin-top: 16px; }
.ann-note[data-ann="2"] { right: 2%; top: -50px; flex-direction: row-reverse; }
.ann-note[data-ann="2"] .hand-arrow { margin-top: 16px; transform: scaleX(-1); }
.ann-note[data-ann="3"] { left: 34%; top: 38%; text-shadow: 0 1px 0 #000, 0 0 12px rgba(9, 11, 22, .9); }
.ann-note[data-ann="3"] .hand-arrow { margin-top: 12px; }
.ann-note[data-ann="4"] { left: 4%; bottom: -54px; }
.ann-note[data-ann="4"] .hand-arrow { margin-top: -22px; }

.sticky-note { position: absolute; z-index: 4; right: -14px; bottom: -34px; width: 196px; padding: 18px 16px 16px; background: #f6e7a8; color: #3a2e10; font: 700 19px/1.12 var(--font-hand); rotate: 3.5deg; box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 18px 30px -14px rgba(0, 0, 0, .8), 0 2px 4px rgba(0, 0, 0, .3); border-radius: 2px 2px 14px 2px; }
.sticky-note .tape { top: -10px; left: 60px; background: rgba(243, 236, 223, .5); }
.sticky-note p { text-wrap: pretty; }

/* ---------- 05 why: the stack ---------- */
.why2 { padding: var(--sec-pad) 0; }
.why2-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.stack { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack li { rotate: var(--tilt); }
.stack span { position: relative; display: inline-block; padding: 7px 14px; border-radius: 10px; border: 1px dashed var(--line-strong); color: var(--text-3); font-weight: 600; font-size: .92rem; }
.stack span::after { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; height: 10px; translate: 0 -50%; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7c40-3 90-4 196-2' fill='none' stroke='%23ff5d73' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0); transition: clip-path .5s var(--ease-out); }
.why2-copy.is-shown .stack span::after, .why2-copy:not(.rv) .stack span::after { clip-path: inset(0 0 0 0); }
.stack li:nth-child(2) span::after { transition-delay: .15s; } .stack li:nth-child(3) span::after { transition-delay: .3s; }
.stack li:nth-child(4) span::after { transition-delay: .45s; } .stack li:nth-child(5) span::after { transition-delay: .6s; }
.stack-result { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--text-2); font-size: 1rem; }
.stack-result img { flex: none; }
.stack-result b { color: var(--text); }
.maker-note2 { position: relative; margin: 40px 0 0; max-width: 30em; padding: 22px 24px 18px; border-radius: 4px 18px 18px 18px; background: var(--paper); color: var(--paper-ink); rotate: -1.2deg; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 22px 40px -22px rgba(0, 0, 0, .9); }
.maker-note2 .tape { top: -11px; right: 34px; background: rgba(243, 236, 223, .45); }
.maker-note2 blockquote { margin: 0; }
.maker-note2 p { font-size: 1.02rem; line-height: 1.6; font-weight: 600; }
.maker-note2 figcaption { margin-top: 10px; font: 700 20px/1 var(--font-hand); color: #6a4a8a; }
.why2-table { margin-top: 8px; position: sticky; top: calc(var(--nav-h) + 32px); }
@media (min-width: 901px) { .why2-table .compare thead th { white-space: nowrap; } }
@media (max-width: 900px) { .why2-table { position: static; } }

/* ---------- 06 faq ---------- */
.page-home .faq { padding: var(--sec-pad) 0; }
.faq-side .l-title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.faq-side { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }

/* ---------- closing CTA ---------- */
.close { position: relative; padding: clamp(72px, 10vw, 140px) 0; text-align: center; overflow-x: clip; }
.close::before { content: ''; position: absolute; inset: 10% 15% 0; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(124, 92, 255, .16), rgba(61, 245, 176, .04) 60%, transparent); }
.close-inner { display: flex; flex-direction: column; align-items: center; }
.close-trace { width: min(100%, 600px); height: 80px; margin-bottom: 24px; }
.close-trace path { fill: none; stroke: var(--mint); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(61, 245, 176, .7)); }
.close.is-in .close-trace path { animation: l-draw 1.8s var(--ease-out) forwards; }
@keyframes l-draw { to { stroke-dashoffset: 0; } }
.close-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 6vw, 4.6rem); letter-spacing: -.045em; line-height: 1; }
.close .l-lede { margin-inline: auto; }
.close-btns { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.close-blip { position: absolute; left: -108px; bottom: 4px; width: 96px; pointer-events: none; transition: translate .5s var(--ease-spring), rotate .5s var(--ease-spring); }
.close-blip.is-up { translate: 8px -14px; rotate: -6deg; }
@media (max-width: 640px) { .close-blip { position: static; order: -1; width: 80px; margin: 0 auto -4px; flex-basis: 100%; display: flex; justify-content: center; } .close-blip .blip { width: 80px; } }

/* ---------- responsive ---------- */
@media (max-width: 1239px) {
  .ann-note { display: none; }
  .sticky-note { right: 10px; bottom: -40px; }
}
@media (max-width: 1080px) {
  .dash2-grid { grid-template-columns: minmax(0, 1fr); }
  .ann-side { order: 2; }
  .ann-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
  .feat-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .mod-index { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .today-grid, .steps-grid, .why2-grid, .dash2-head { grid-template-columns: minmax(0, 1fr); }
  .steps-copy, .faq-side { position: static; }
  .steps-blip { position: absolute; right: 0; top: -20px; margin: 0; width: 64px; }
  .steps-copy { position: relative; top: auto; }
  .steps-blip .blip { width: 64px; }
}
@media (max-width: 760px) {
  .mod-index { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ann-legend { grid-template-columns: minmax(0, 1fr); }
  .dprev2 { rotate: 0deg; }
  .dp-body { grid-template-columns: minmax(0, 1fr); }
  .dp-side { display: none; }
  .dp-main { padding: 12px; }
  .dp-row, .dp-row-2 { grid-template-columns: minmax(0, 1fr); }
  .dp-check { display: none; }
  .dp-signal { grid-template-columns: 92px minmax(0, 1fr); }
  .dp-sig-r { display: none; }
  .dp-crumb { display: none; }
  .sticky-note { position: relative; right: auto; bottom: auto; margin: -18px 12px 0 auto; width: 210px; }
  .setup-item { grid-template-columns: 30px minmax(0, 1fr); }
  .setup-art { display: none; }
  .setup-mark { margin-top: 2px; }
  .tally-row dd { font-size: 1.3rem; }
}
@media (max-width: 420px) {
  .mod-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dg-head { flex-direction: column-reverse; gap: 10px; }
  .vig-copy { grid-template-columns: 44px minmax(0, 1fr); column-gap: 10px; }
  .vig-art { width: 44px; height: 44px; }
  .vig-art svg { width: 40px; height: 40px; }
}

/* ---------- reduced motion: final states, no rolls ---------- */
@media (prefers-reduced-motion: reduce) {
  .hc-ring, .hc-tick { stroke-dasharray: none; stroke-dashoffset: 0; }
  .stack span::after { clip-path: none; transition: none; }
  .close-trace path { stroke-dashoffset: 0; }
  .dprev2 { rotate: 0deg; }
  html.notes-managed main .hand-note { transition: none; translate: none; }
  .ann-note { transition: none; translate: none; }
  .roll .roll-col { animation: none; }
}
@media (max-width: 640px) {
  .dg-note { font-size: 19px; max-width: 100%; }
  .dg-note .hand-note-text { flex: 1 1 auto; white-space: normal; }
}

/* tally: warm zero state + "last hour" column */
.tally-cols { display: grid; grid-template-columns: minmax(0, 1fr) 84px 76px; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: .74rem; color: var(--text-3); }
.tally-cols span:first-child { visibility: hidden; }
.tally-cols span:not(:first-child) { text-align: right; }
.tally-row dd { display: grid; grid-template-columns: 84px 76px; align-items: baseline; gap: 12px; flex: none; }
.tally-row dd b { text-align: right; }
.tally-row dd b.is-empty { color: var(--text-3); font-weight: 500; }
.tally-recent { font: 500 .95rem var(--font-mono); color: var(--text-3); text-align: right; }
.tally-warm { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .025); border: 1px dashed var(--line-strong); font-size: .84rem; color: var(--text-2); line-height: 1.5; }
.tally-warm[hidden] { display: none; }
.tally-warm-blip { flex: none; width: 34px; }
.tally-warm-blip .blip { width: 34px; }
@media (max-width: 420px) { .tally-cols { grid-template-columns: minmax(0, 1fr) 64px 64px; gap: 8px; } .tally-row dd { grid-template-columns: 64px 64px; gap: 8px; } }
.tally-row dd .tally-recent { font: 600 1rem var(--font-body); font-variant-numeric: tabular-nums; color: var(--text-3); }

/* =====================================================================
   v1.1 modules: raid protection, captcha gate, honeypot, economy,
   stats channels, social alerts. Scripted bits live in js/vignettes.js;
   everything settles on its final frame under reduced motion.
   ===================================================================== */
.faq-a code, .l-lede code { font: 500 .88em var(--font-mono); color: var(--mint); background: rgba(61, 245, 176, .08); padding: 1px 5px; border-radius: 5px; }

/* raid: join flood → red meter → lock slams shut */
.raid { position: relative; width: min(100%, 380px); padding: 16px 18px 14px; border-radius: var(--r-md); background: var(--ink-850); border: 1px solid var(--line-strong); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); transition: border-color .4s; }
.raid-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .82rem; color: var(--text-2); }
.raid-head b { font: 700 1.6rem/1 var(--font-mono); color: var(--text); transition: color .3s; }
.raid-bar { position: relative; height: 8px; margin: 10px 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.raid-bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: var(--mint); transition: width .2s var(--ease-out), background .3s; }
.raid-bar em { position: absolute; left: var(--at); top: -4px; bottom: -4px; width: 2px; border-radius: 2px; background: var(--text-3); font-style: normal; }
.raid-bar em::after { content: 'limit'; position: absolute; top: 14px; left: 50%; translate: -50% 0; font: 700 15px/1 var(--font-hand); color: var(--hand-ink); }
.raid-feed { list-style: none; margin: 0; padding: 0; height: 96px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; font-size: .78rem; color: var(--text-2); -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%); }
.raid-feed li { display: flex; gap: 6px; align-items: center; white-space: nowrap; overflow: hidden; animation: msg-in .3s var(--ease-out) both; }
.raid-feed li b { color: var(--text); font-weight: 600; font-family: var(--font-mono); font-size: .74rem; }
.raid-feed li small { margin-left: auto; color: var(--text-3); }
.raid.is-hot { border-color: rgba(255, 93, 115, .55); }
.raid.is-hot .raid-head b { color: var(--ember); }
.raid.is-hot .raid-bar i { background: var(--ember); box-shadow: 0 0 12px rgba(255, 93, 115, .6); }
.raid-lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: inherit; background: rgba(20, 10, 18, .86); opacity: 0; pointer-events: none; }
.raid-lock svg { width: 46px; height: 46px; fill: none; stroke: var(--ember); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.raid-lock span { display: grid; gap: 2px; }
.raid-lock b { font: 800 1.15rem var(--font-display); color: var(--text); }
.raid-lock small { color: var(--text-2); font: 500 .8rem var(--font-mono); }
.raid-shackle { transform-origin: 27.5px 18px; transform: translateY(-5px) rotate(18deg); }
.raid.is-locked .raid-lock { opacity: 1; transition: opacity .2s; }
.raid.is-locked .raid-lock svg { animation: lock-slam .45s cubic-bezier(.5, 0, .75, 0) both; }
.raid.is-locked .raid-shackle { animation: shackle .3s .38s var(--ease-out) forwards; }
.raid.is-locked { animation: thud .35s .42s var(--ease-out); }
@keyframes lock-slam { 0% { transform: scale(2.6) rotate(-14deg); opacity: 0; } 85% { transform: scale(.94); opacity: 1; } 100% { transform: none; } }
@keyframes shackle { to { transform: none; } }

/* captcha: pick the code */
.cap { width: min(100%, 290px); display: grid; gap: 10px; }
.cap-q { font-weight: 700; font-size: .9rem; }
.cap-code { position: relative; display: flex; justify-content: center; gap: 10px; padding: 12px; border-radius: 12px; background: repeating-linear-gradient(-45deg, rgba(61, 245, 176, .05) 0 6px, transparent 6px 12px), var(--ink-850); border: 1px solid var(--line-strong); }
.cap-code span { display: inline-block; font: 800 1.7rem/1 var(--font-display); color: var(--mint); transform: rotate(var(--r)) skewX(calc(var(--r) * -1)); text-shadow: 2px 2px 0 rgba(124, 92, 255, .45); }
.cap-code i { position: absolute; left: 14%; right: 14%; top: 52%; height: 2px; border-radius: 2px; background: rgba(255, 210, 122, .6); transform: rotate(-4deg); }
.cap-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cap-opts span { display: grid; place-items: center; min-height: 34px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); font: 600 .86rem var(--font-mono); letter-spacing: .08em; transition: background .2s, border-color .2s, transform .15s; }
.cap-opts span.is-hover { background: rgba(255, 255, 255, .09); border-color: var(--text-3); }
.cap-opts span.is-picked { background: rgba(61, 245, 176, .16); border-color: var(--mint); color: var(--mint); transform: scale(.96); }
.cap-ok { padding: 7px 12px; border-radius: 999px; font-size: .84rem; text-align: center; background: rgba(61, 245, 176, .12); border: 1px solid rgba(61, 245, 176, .35); opacity: 0; transform: translateY(6px) scale(.95); transition: opacity .35s, transform .4s var(--ease-spring); }
.cap-ok::before { content: '✓ '; color: var(--mint); font-weight: 800; }
.cap-ok b { color: var(--mint); }
.cap-ok.is-on { opacity: 1; transform: none; }

/* tripwire (internal key: honeypot): a spam bot runs into the wire in the trap channel and gets flung out */
.hp { width: min(100%, 290px); display: grid; justify-items: center; gap: 8px; }
.hp-ch { justify-self: start; font-size: .82rem; font-weight: 700; color: var(--text-2); }
.hp-ch span { color: var(--amber); margin-right: 3px; }
.hp-msg { justify-self: stretch; display: flex; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: .8rem; color: var(--text-2); }
.hp-msg b { color: var(--text); margin-right: 4px; }
.hp-done { font-size: .82rem; padding: 5px 12px; border-radius: 999px; background: rgba(255, 196, 77, .12); border: 1px solid rgba(255, 196, 77, .35); opacity: 0; transform: scale(.8); }
.hp-done b { color: var(--amber); }
.vig.is-in .hp-msg { animation: hp-flag .5s .7s var(--ease-out) forwards; }
.vig.is-in .hp-done { animation: pop-in .45s 2.4s var(--ease-spring) forwards; }
@keyframes hp-flag { to { background: rgba(255, 196, 77, .12); box-shadow: inset 2px 0 0 var(--amber); opacity: .5; text-decoration: line-through; } }
.tw-field { position: relative; width: 180px; height: 80px; }
.tw-field svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tw-field path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tw-ground { stroke: var(--line-strong); stroke-width: 2; }
.tw-post { stroke: var(--text-2); stroke-width: 3.2; }
.tw-cap { stroke: var(--text-3); stroke-width: 2.4; }
.tw-wire { stroke: var(--amber); stroke-width: 2.4; }
.tw-bent { opacity: 0; }
.tw-spark { stroke: var(--hand-ink, #ffd27a); stroke-width: 2.2; opacity: 0; transform-origin: 91px 44px; transform: scale(.4); }
.tw-bot { position: absolute; left: 8px; top: 21px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #ff5d73; color: #0a0c18; font: 800 9px var(--font-body); opacity: 0; }
.vig.is-in .tw-bot { animation: tw-run 1.5s 1.1s cubic-bezier(.4, 0, .6, 1) forwards; }
.vig.is-in .tw-wire:not(.tw-bent) { animation: tw-hide .5s 1.8s steps(1) forwards; }
.vig.is-in .tw-bent { animation: tw-twang .5s 1.8s ease-out forwards; }
.vig.is-in .tw-spark { animation: tw-spark .5s 1.8s var(--ease-spring) forwards; }
@keyframes tw-run {
  0% { opacity: 0; transform: translateX(0); }
  10% { opacity: 1; }
  47% { transform: translateX(62px) rotate(0); }
  70% { opacity: 1; transform: translate(96px, -34px) rotate(200deg); }
  100% { opacity: 0; transform: translate(132px, -48px) rotate(330deg) scale(.6); }
}
@keyframes tw-twang { 0%, 40%, 80% { opacity: 1; } 20%, 60%, 100% { opacity: 0; } }
@keyframes tw-hide { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes tw-spark { 0% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.3); } }

/* economy: coins rain into the wallet, then something gets bought */
.eco { width: min(100%, 460px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 14px; align-items: center; }
.eco-wallet { position: relative; display: grid; gap: 4px; padding: 16px; border-radius: var(--r-md); background: linear-gradient(160deg, #2b2210, #171320); border: 1px solid rgba(255, 196, 77, .35); text-align: center; overflow: visible; }
.eco-wallet span { font-size: .78rem; color: var(--text-2); }
.eco-wallet b { font: 700 1.6rem/1.1 var(--font-mono); color: var(--amber); }
.eco-wallet b::before { content: '🪙 '; font-size: .9em; }
.eco-wallet.is-bump b { animation: flip .4s var(--ease-spring); }
.eco-rain { position: absolute; inset: -60px 0 0; pointer-events: none; }
.eco-coin { position: absolute; top: 0; left: var(--x); font-size: 16px; animation: coin-drop .7s cubic-bezier(.5, 0, .9, .5) forwards; }
@keyframes coin-drop { 0% { opacity: 0; transform: translateY(0) rotate(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(96px) rotate(200deg); } }
.eco-shop { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.eco-shop li { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: .82rem; overflow: hidden; transition: border-color .3s, background .3s; }
.eco-shop li b { font-family: var(--font-mono); font-weight: 600; color: var(--amber); white-space: nowrap; }
.eco-shop li em { position: absolute; inset: 0 0 0 auto; display: grid; place-items: center; padding: 0 14px; border-radius: 0 9px 9px 0; font: 700 18px/1 var(--font-hand); color: #04130d; background: var(--mint); font-style: normal; transform: translateX(105%); transition: transform .4s var(--ease-spring); }
.eco-shop li.is-bought { border-color: var(--mint); }
.eco-shop li.is-bought em { transform: none; }

/* stats channels: a Discord channel list with a live counter */
.stc { list-style: none; margin: 0; padding: 10px 8px; width: min(100%, 260px); display: grid; gap: 2px; border-radius: var(--r-md); background: #2b2d31; box-shadow: 0 18px 40px -20px #000; font-size: .86rem; color: #949ba4; }
.stc li { display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 8px; border-radius: 5px; white-space: nowrap; }
.stc li:not(.stc-cat):not(.is-text) { color: #dbdee1; background: rgba(78, 80, 88, .22); }
.stc li i { width: 14px; height: 12px; flex: none; margin-right: 2px; background: currentColor; opacity: .6; clip-path: polygon(0 32%, 32% 32%, 70% 0, 70% 100%, 32% 68%, 0 68%); }
.stc li b { font-family: var(--font-mono); font-weight: 600; display: inline-block; }
.stc li b.is-tick { animation: stc-tick .9s var(--ease-out); }
.stc-cat { min-height: 24px !important; margin-top: 4px; font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.stc .is-text span { width: 16px; text-align: center; font-size: 1.05rem; }
@keyframes stc-tick { 0% { transform: translateY(-6px); opacity: .2; color: var(--mint); } 30% { transform: none; opacity: 1; } 70% { color: var(--mint); } }

/* social alerts: the LIVE badge breathes */
.soc { width: min(100%, 300px); display: grid; gap: 8px; }
.soc-ping { font-size: .84rem; color: var(--text-2); line-height: 1.5; }
.soc-mention { padding: 0 3px; border-radius: 3px; background: rgba(88, 101, 242, .3); color: #c9cdfb; font-weight: 600; }
.soc-card { border-radius: 10px; background: #2b2d31; border-left: 4px solid var(--violet-2); overflow: hidden; transition: border-color .3s; }
.soc-thumb { position: relative; height: 92px; display: grid; place-items: center; background: radial-gradient(80% 120% at 30% 20%, rgba(161, 139, 255, .55), transparent 60%), radial-gradient(70% 90% at 80% 90%, rgba(76, 201, 255, .4), transparent 60%), #15172a; }
.soc-thumb svg { width: 34px; height: 34px; fill: rgba(255, 255, 255, .85); }
.soc-live { position: absolute; left: 8px; top: 8px; padding: 2px 7px; border-radius: 4px; background: #e8384f; color: #fff; font: 800 .68rem var(--font-body); letter-spacing: .08em; box-shadow: 0 0 0 0 rgba(232, 56, 79, .6); }
.vig.is-in .soc-live { animation: live-pulse 1.4s ease-out infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(232, 56, 79, .6); } 70% { box-shadow: 0 0 0 9px rgba(232, 56, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 56, 79, 0); } }
.soc-meta { display: grid; gap: 2px; padding: 8px 12px 10px; font-size: .8rem; color: var(--text-2); }
.soc-meta b { color: var(--text); font-size: .88rem; }
.soc.is-yt .soc-card { border-left-color: #ff4e45; }
.soc.is-yt .soc-live { background: #ff4e45; }
.soc.is-swap .soc-card { animation: msg-in .45s var(--ease-out); }

@media (max-width: 560px) {
  .eco { grid-template-columns: minmax(0, 1fr); }
  .mod-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 561px) and (max-width: 760px) { .mod-index { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1081px) { .mod-index { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.stack li:nth-child(6) span::after { transition-delay: .75s; } .stack li:nth-child(7) span::after { transition-delay: .9s; }
.stack li:nth-child(8) span::after { transition-delay: 1.05s; } .stack li:nth-child(9) span::after { transition-delay: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  .hp-msg { opacity: .5; text-decoration: line-through; box-shadow: inset 2px 0 0 var(--amber); }
  .tw-bot { opacity: 0; } .tw-spark { opacity: .9; transform: none; }
  .hp-done { opacity: 1; transform: none; }
  .raid-shackle { transform: none; }
  .vig.is-in .soc-live { animation: none; }
}
