/* v28 extras: Monofonto, mood line, progress, video showcases */

/* "Lately, I'm feeling <imood>" : inline with the bio text, no boxed panel */
.mood { display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; margin:var(--s3) 0 0; font:16px/24px Mc, monospace; color:var(--fg); }
.mood-l { color:var(--mut); }
.mood .imood { display:inline-flex; width:auto; padding:0; border:0; border-radius:0; background:none; box-shadow:none; line-height:0; transition:opacity .15s; }
.mood .imood img { display:block; max-width:100%; height:auto; min-height:18px; border-radius:0; }
.mood .imood:hover, .mood .imood:focus-visible { transform:none; box-shadow:none; opacity:.8; }
.imood-rule { display:none; }


/* progress */
#yearprog { margin-top:var(--s6); }
.yp { display:grid; gap:var(--s3); }
.yp-row { padding:10px 12px 12px; border:2px solid var(--ink); border-radius:var(--w1); background:var(--panel); }
.yp-top { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:2px 12px; }
.yp-l { font:700 16px/20px Mc, monospace; color:var(--mut); letter-spacing:1px; text-transform:uppercase; }
.yp-p { font:700 24px/28px Mc, monospace; font-variant-numeric:tabular-nums; letter-spacing:0; color:var(--fg); white-space:nowrap; }
.yp-bar { position:relative; height:12px; margin-top:8px; border:2px solid var(--ink); border-radius:0; background:var(--hover); overflow:hidden; }
.yp-bar i { position:absolute; inset:0 auto 0 0; width:0; background:var(--acc); }
.yp-sub { margin-top:6px; font:15px/18px Mc, monospace; color:var(--mut); }
.yp-extra { display:grid; grid-template-rows:0fr; transition:grid-template-rows .3s steps(6, end); }
.yp-extra.open { grid-template-rows:1fr; }
.yp-extra > div { overflow:hidden; min-height:0; display:grid; gap:var(--s3); }
.yp-extra.open > div { padding-top:0; }
.yp-more { margin-top:var(--s3); }
.yp-live::before { content:""; display:inline-block; width:8px; height:8px; margin-right:7px; border-radius:50%; background:#3ddc4b; vertical-align:1px; animation:ypPulse 1.4s steps(2, end) infinite; }
@keyframes ypPulse { 50% { opacity:.25; } }
@media (prefers-reduced-motion:reduce) { .yp-extra { transition:none; } .yp-live::before { animation:none; } }

/* video showcases */
.vs { margin-top:var(--s6); }
.vs-h { font-family:Monofonto, Mc, monospace !important; }
.vs-frame { position:relative; margin:var(--s3) auto 0; border:2px solid var(--ink); border-radius:var(--w1); overflow:hidden; background:#000; }
.vs-port { max-width:min(100%, 420px); }
.vs-v { display:block; width:100%; height:auto; background:#000; }
.vs-snd { position:absolute; left:10px; bottom:10px; display:inline-grid; place-items:center; width:38px; height:38px; padding:0; background:rgba(0,0,0,.72); color:#fff; border-color:#e8e8de; backdrop-filter:blur(2px); }
.vs-snd svg { width:18px; height:18px; flex:none; fill:currentColor; }
.vs-snd:hover, .vs-snd:focus-visible { background:var(--acc); color:var(--on-acc); }
.vs-snd[aria-pressed="true"] { background:var(--acc); color:var(--on-acc); }

/* centered video titles; the infinity sign is big and borderless */
.vs .sec { justify-content:center; text-align:center; }
.vs .sec h2 { margin-inline:auto; }
.sec h2.vs-inf { border:0; padding:0 8px; font-size:72px; line-height:64px; }
/* solid progress fills (no segments / stripes) */
.gs-bar { border-radius:0; }
.gs-bar i { background:var(--acc); }
.ach-meter { border-radius:0; background:linear-gradient(90deg, var(--acc) var(--p), transparent 0); }

.sec h2.vs-rem { border:0; padding:0 8px; font-size:clamp(36px, 9vw, 60px); line-height:1.1; }
.sec h2.vs-inf { font-size:clamp(56px, 14vw, 88px); line-height:1; }

/* pixel infinity sign: a bright comet chases around the figure eight (each pixel is lit in turn through its --o offset) */
.inf-px { display:block; width:clamp(150px, 34vw, 240px); height:auto; margin:0 auto; overflow:visible; --dur:3.2s; }
.inf-px rect { fill:var(--fg); }
@media (prefers-reduced-motion:no-preference) {
  .inf-px rect { animation:infchase var(--dur) steps(1, end) infinite; animation-delay:calc(var(--o) * var(--dur) * -1); }
}
@keyframes infchase { 0% { fill:var(--acc); } 6% { fill:color-mix(in srgb, var(--acc) 60%, var(--fg)); } 11% { fill:color-mix(in srgb, var(--acc) 30%, var(--fg)); } 16%, 100% { fill:var(--fg); } }
