/* The lyu.si band (band.js, and portfolio.php draws the same markup): a slim strip at the top and bottom of every
   lyu.si page with the mark, lyu.si's links and its house adverts. Self-contained: its own colours, light and dark. */
.lyu-band {
  --lb-bg: rgba(255, 255, 255, .86); --lb-ink: #15201f; --lb-muted: #5d6b69; --lb-line: rgba(21, 32, 31, .12);
  --lb-acc: #0f766e; --lb-acc-ink: #fff; --lb-chip: rgba(15, 118, 110, .1);
  box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; padding: 6px 16px;
  background: var(--lb-bg); color: var(--lb-ink); font: 13px/1.35 system-ui, 'Segoe UI', Roboto, sans-serif;
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
@media (prefers-color-scheme: dark) {
  .lyu-band { --lb-bg: rgba(16, 24, 23, .86); --lb-ink: #e5eeec; --lb-muted: #93a6a3; --lb-line: rgba(229, 238, 236, .12); --lb-acc: #2dd4bf; --lb-acc-ink: #06201d; --lb-chip: rgba(45, 212, 191, .14); }
}
.lyu-band *, .lyu-band *::before, .lyu-band *::after { box-sizing: border-box; }
.lyu-band a { color: inherit; }
[data-lyu-band] { position: relative; z-index: 3; display: block; width: 100%; flex: none; align-self: stretch; }
[data-lyu-band="top"] { margin: 0 0 4px; }
[data-lyu-band="bottom"] { margin: auto 0 0; padding-top: 24px; }
.lb-top { border-bottom: 1px solid var(--lb-line); }
.lb-bottom { border-top: 1px solid var(--lb-line); flex-wrap: wrap; justify-content: space-between; }
.lb-brand { display: inline-flex; align-items: center; gap: 7px; flex: none; text-decoration: none; font-size: 14px; letter-spacing: -.01em; }
.lb-brand img { display: block; border-radius: 5px; }
.lb-ad { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; justify-content: center; }
.lb-bottom .lb-ad { flex: 1 1 320px; justify-content: flex-start; }
.lb-tag { flex: none; padding: 1px 6px; border: 1px solid var(--lb-line); border-radius: 5px; color: var(--lb-muted); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lb-preview .lb-tag { border-color: #d97706; color: #b45309; }
.lb-ad-link { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 3px 4px 3px 3px; border-radius: 10px; text-decoration: none; }
a.lb-ad-link:hover, a.lb-ad-link:focus-visible { background: var(--lb-chip); outline: none; }
.lb-img { flex: none; width: 28px; height: 28px; border-radius: 7px; object-fit: cover; }
.lb-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-body { color: var(--lb-muted); }
.lb-cta { flex: none; padding: 4px 11px; border-radius: 999px; background: var(--lb-acc); color: var(--lb-acc-ink); font-weight: 700; font-size: 12px; }
.lb-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-left: auto; color: var(--lb-muted); }
.lb-links a { text-decoration: none; }
.lb-links a:hover, .lb-links a:focus-visible { color: var(--lb-acc); text-decoration: underline; }
.lb-copy { color: var(--lb-muted); }
@media (max-width: 600px) {
  .lyu-band { gap: 8px; padding: 6px 12px; }
  .lb-body { display: none; }
  .lb-top .lb-ad { justify-content: flex-end; }
  .lb-links { margin-left: 0; width: 100%; justify-content: center; }
}
@media print { [data-lyu-band], .lyu-band { display: none !important; } }

/* the admin's splash (Compass-style): picture, title, text, up to two buttons */
.lb-splash-back { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 12, 12, .55); font: 15px/1.5 system-ui, 'Segoe UI', Roboto, sans-serif; }
.lb-splash { --lb-ink: #15201f; --lb-muted: #5d6b69; --lb-acc: #0f766e; --lb-acc-ink: #fff; --lb-card: #fff; --lb-line: rgba(21, 32, 31, .14);
  width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 18px; background: var(--lb-card); color: var(--lb-ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
@media (prefers-color-scheme: dark) { .lb-splash { --lb-ink: #e5eeec; --lb-muted: #93a6a3; --lb-acc: #2dd4bf; --lb-acc-ink: #06201d; --lb-card: #172120; --lb-line: rgba(229, 238, 236, .14); } }
.lb-splash-img { display: block; width: 100%; max-height: 240px; object-fit: cover; }
.lb-splash-body { padding: 20px 22px 18px; }
.lb-splash h2 { margin: 6px 0 6px; font-size: 20px; line-height: 1.25; }
.lb-splash p { margin: 0 0 14px; color: var(--lb-muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.lb-splash-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.lb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 18px; border: 1px solid var(--lb-line); border-radius: 12px; background: none; color: inherit; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.lb-btn.lb-primary { border-color: var(--lb-acc); background: var(--lb-acc); color: var(--lb-acc-ink); }
.lb-btn:focus-visible { outline: 2px solid var(--lb-acc); outline-offset: 2px; }
