/* ==========================================================================
   The Belsha Family — site styles
   Plain CSS. Colours and sizes are in the :root block, so you can retheme the
   whole site by changing a few values.
   ========================================================================== */
:root {
  --bg: #faf6ee;
  --bg-soft: #f1eadb;
  --card: #fffdf8;
  --ink: #27302b;
  --muted: #5f6a5c;
  --line: #e3dac6;
  --primary: #1f4d3a;
  --primary-hover: #163a2b;
  --on-primary: #ffffff;
  --accent: #b8582c;
  --gold: #c9a24a;
  --sage: #dde7da;
  --danger: #a3361f;
  --focus: #b8582c;
  --shadow: 0 1px 2px rgba(31,45,35,.06), 0 10px 28px rgba(31,45,35,.09);
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hills: url("/images/hills.svg");
  --hero-top: #fbe9c9;
  --hero-sun: rgba(240,190,90,.55);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111712; --bg-soft: #182019; --card: #1a231b; --ink: #ece8dc; --muted: #a6b1a0; --line: #2c392d;
    --primary: #86bf96; --primary-hover: #9ccfaa; --on-primary: #0e1a12; --accent: #e08a5a; --sage: #243126;
    --danger: #ef8d79; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 28px rgba(0,0,0,.35);
    --hills: url("/images/hills-dark.svg"); --hero-top: #1b2a22; --hero-sun: rgba(224,170,80,.25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 18px/1.65 var(--sans); min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(640px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand b { font: 700 1.35rem/1 var(--serif); display: block; }
.brand small { display: block; font: 600 .68rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav a, .nav button.link {
  color: var(--ink); text-decoration: none; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .97rem;
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav a:hover, .nav button.link:hover { background: var(--sage); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--sage); }
.nav .btn { padding: 9px 18px; min-height: 0; }
@media (max-width: 820px) {
  .site-header .wrap { flex-wrap: wrap; padding-block: 8px; gap: 6px; }
  .nav { margin-left: 0; width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .nav a, .nav button.link { white-space: nowrap; }
  .brand img { width: 38px; height: 38px; }
}

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px; border-radius: 999px; border: 2px solid var(--primary);
  background: var(--primary); color: var(--on-primary); font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--on-primary); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--primary); }
.btn-ghost:hover { background: var(--sage); color: var(--primary); border-color: var(--primary); }
.btn-warm { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-warm:hover { background: #9c4620; border-color: #9c4620; color: #fff; }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 12px 32px; font-size: 1.1rem; }

label { display: block; font-weight: 700; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], select, textarea {
  width: 100%; min-height: 50px; padding: 11px 14px; font: inherit; color: var(--ink);
  background: var(--card); border: 2px solid var(--line); border-radius: 10px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent); }
.field { margin-bottom: 18px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.check input { width: 22px; height: 22px; accent-color: var(--primary); }
.msg { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-weight: 600; }
.msg.error { background: color-mix(in srgb, var(--danger) 14%, var(--card)); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent); }
.msg.ok { background: color-mix(in srgb, var(--primary) 14%, var(--card)); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent); }
.msg.info { background: var(--sage); color: var(--ink); }

/* ---------- Cards / layout ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-soft); }
.eyebrow { font: 700 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.page-head { padding: 44px 0 20px; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .2em; }
.page-head p { color: var(--muted); max-width: 60ch; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 16px; }

/* ---------- Public hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 88px 0 230px;
  background:
    radial-gradient(circle at 50% 108%, var(--hero-sun), transparent 55%),
    linear-gradient(180deg, var(--hero-top), var(--bg) 92%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 230px;
  background: var(--hills) bottom center / 100% 100% no-repeat; pointer-events: none;
}
.hero .emblem { width: clamp(96px, 16vw, 136px); margin: 0 auto 22px; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(31,77,58,.25)); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.4rem); margin-bottom: .15em; }
.hero .lead { font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--muted); max-width: 40ch; margin: 0 auto 30px; line-height: 1.5; }
.hero .row { justify-content: center; position: relative; z-index: 2; }
.hero .wrap { position: relative; z-index: 2; }
.hero-edge { height: 40px; background: #1f4d3a; margin-top: -1px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-edge { background: #17291e; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 36px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sage); display: grid; place-items: center; margin-bottom: 16px; color: var(--primary); }
.feature .icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; }

.pet-teaser { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.pet-collage { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.pet-collage a { display: block; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 1; transition: transform .3s ease; }
.pet-collage a:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 4; aspect-ratio: auto; }
.pet-collage a:nth-child(2) { grid-column: 5 / 7; grid-row: 1 / 3; aspect-ratio: auto; }
.pet-collage a:nth-child(3) { grid-column: 5 / 7; grid-row: 3 / 4; aspect-ratio: auto; }
.pet-collage a:hover { transform: rotate(-1.2deg) scale(1.02); }
.pet-collage img { width: 100%; height: 100%; object-fit: cover; }
.pet-collage { min-height: 360px; }
@media (max-width: 820px) { .pet-teaser { grid-template-columns: 1fr; gap: 28px; } }

.cta-band { background: var(--primary); color: var(--on-primary); text-align: center; padding: 64px 0; }
.cta-band h2 { color: inherit; }
.cta-band p { opacity: .92; max-width: 52ch; margin-inline: auto; }
.cta-band .btn { background: var(--card); color: var(--primary); border-color: var(--card); }
.cta-band .btn:hover { background: var(--gold); border-color: var(--gold); color: #1d1a10; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--muted); }

/* ---------- Sign-in & small centered pages ---------- */
.auth-wrap { min-height: calc(100vh - 160px); display: grid; place-items: center; padding: 40px 0 60px;
  background: radial-gradient(900px 400px at 50% 0, var(--sage), transparent 70%); }
.auth-card { width: min(460px, 100% - 32px); }
.auth-card .emblem { width: 76px; margin: 0 auto 14px; }
.auth-card h1 { font-size: 2rem; text-align: center; }

/* ---------- Album cards ---------- */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.album-card { display: block; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.album-card:hover { transform: translateY(-4px); color: var(--ink); box-shadow: 0 2px 4px rgba(31,45,35,.08), 0 18px 36px rgba(31,45,35,.16); }
.album-cover { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--sage), var(--bg-soft)); position: relative; overflow: hidden; display: grid; place-items: center; color: var(--primary); }
.album-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.album-card:hover .album-cover img { transform: scale(1.05); }
.album-cover svg { width: 56px; height: 56px; opacity: .55; }
.album-info { padding: 16px 18px 18px; }
.album-info h3 { margin: 0 0 4px; font-size: 1.25rem; }
.album-info p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Justified photo grid ---------- */
.j-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.j-grid::after { content: ""; flex-grow: 1e6; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 8px; background: var(--sage); cursor: zoom-in; border: 0; padding: 0; }
.tile i { display: block; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .3s ease; }
.tile:hover img { transform: scale(1.04); }
.tile .tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; color: #fff; font-size: .82rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transition: opacity .25s ease; text-align: left; }
.tile:hover .tag, .tile:focus-visible .tag { opacity: 1; }
@media (hover: none) { .tile .tag { opacity: 1; } }

.empty { text-align: center; padding: 56px 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty svg { width: 64px; height: 64px; color: var(--primary); opacity: .6; margin-bottom: 8px; }
.empty h3 { color: var(--ink); }

/* ---------- Pets page ---------- */
.pet { padding: 56px 0; border-top: 1px solid var(--line); }
.pet:first-of-type { border-top: 0; }
.pet-head { display: flex; gap: 28px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 26px; }
.pet-head .text { flex: 1 1 420px; }
.pet-head h2 { margin-bottom: .1em; }
.pet-years { font: 700 .85rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pet-head p { margin: 10px 0 0; max-width: 60ch; font-size: 1.12rem; }
.remember { font-family: var(--serif); font-style: italic; color: var(--muted); }

/* ---------- Lightbox ---------- */
body.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 80; height: 100vh; height: 100dvh; background: rgba(6,9,7,.985); display: none; flex-direction: column; color: #f1efe6; }
.lb.open { display: flex; }
.lb-stage { flex: 1 1 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); place-items: center; padding: 56px 64px 8px; position: relative; touch-action: pan-y; overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; min-height: 0; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-bar { padding: 12px 20px 22px; text-align: center; }
.lb-caption { font: 1.15rem/1.4 var(--serif); margin: 0 auto 4px; max-width: 70ch; }
.lb-meta { font-size: .88rem; opacity: .75; margin-bottom: 12px; }
.lb-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.lb-actions .btn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.lb-actions .btn:hover { background: rgba(255,255,255,.24); color: #fff; }
.lb-actions .btn-danger:hover { background: var(--danger); }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 52px; height: 52px; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { top: 12px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 22px; left: 22px; font-size: .9rem; opacity: .8; z-index: 2; }
@media (max-width: 700px) { .lb-stage { padding: 56px 8px 8px; } .lb-prev, .lb-next { top: auto; bottom: 150px; transform: none; width: 46px; height: 46px; } }

/* ---------- Dialog & toast ---------- */
dialog { border: 0; border-radius: var(--radius); padding: 28px; background: var(--card); color: var(--ink); width: min(480px, 100% - 32px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(10,16,12,.55); backdrop-filter: blur(3px); }
dialog h3 { margin-top: 0; }
dialog .row { justify-content: flex-end; margin-top: 20px; }
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; width: min(440px, 100% - 32px); }
.toast { background: var(--ink); color: var(--bg); padding: 13px 18px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow); animation: pop .25s ease; }
.toast.error { background: var(--danger); color: #fff; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Upload ---------- */
.dropzone { border: 3px dashed var(--line); border-radius: var(--radius); padding: 44px 20px; text-align: center; background: var(--card); transition: border-color .2s, background .2s; }
.dropzone.over { border-color: var(--primary); background: var(--sage); }
.dropzone svg { width: 60px; height: 60px; color: var(--primary); }
.dropzone h3 { margin: 8px 0 4px; }
.queue { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.q-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.q-item img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; background: var(--sage); }
.q-name { font-weight: 700; font-size: .95rem; word-break: break-all; }
.q-item input[type=text] { min-height: 40px; padding: 6px 10px; margin-top: 6px; font-size: .95rem; }
.bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.bar > span { display: block; height: 100%; width: 0; background: var(--primary); transition: width .15s; }
.q-status { font-size: .88rem; margin-top: 4px; color: var(--muted); }
.q-status.fail { color: var(--danger); font-weight: 600; }
.q-status.done { color: var(--primary); font-weight: 600; }
@media (max-width: 560px) { .q-item { grid-template-columns: 60px 1fr; } .q-item img { width: 60px; height: 60px; } .q-item > button { grid-column: 1 / -1; } }

/* ---------- Admin table ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat b { display: block; font: 700 2.2rem/1 var(--serif); color: var(--primary); }
.stat span { color: var(--muted); font-size: .9rem; }
.members { display: grid; gap: 12px; }
.member { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.member.off { opacity: .62; }
.member b { font-size: 1.05rem; }
.member .meta { color: var(--muted); font-size: .88rem; }
.badge { display: inline-block; font: 700 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--sage); color: var(--primary); margin-left: 6px; vertical-align: middle; }
.badge.warn { background: color-mix(in srgb, var(--accent) 20%, var(--card)); color: var(--accent); }
.member .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .member { grid-template-columns: 1fr; } .member .actions { justify-content: flex-start; } }
.secret { font: 700 1.5rem/1.3 ui-monospace, Consolas, monospace; background: var(--sage); border-radius: 10px; padding: 14px 16px; word-break: break-all; user-select: all; }
pre.invite { white-space: pre-wrap; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font: .95rem/1.5 var(--sans); }

/* ---------- Help ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 74px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font: 700 1.1rem var(--serif); }
.steps li b { display: block; font-size: 1.08rem; }

.spinner { width: 34px; height: 34px; border: 4px solid var(--line); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* gentle reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
@media print { .site-header, .site-footer, .nav { display: none; } }

/* small helpers (the site's security policy does not allow style="" attributes in the HTML) */
.lede { max-width: 56ch; margin-inline: auto; }
.btn-block { width: 100%; }
.hint { margin: 6px 0 0; }
.foot-note { margin: 20px 0 0; }
.mt { margin-top: 24px; }
.mb { margin-bottom: 24px; }
.btn:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.grow { flex: 1 1 220px; }

/* ---------- Videos ---------- */
.vid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.vid-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.vid-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.vid-thumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #25392d, #14211a); display: grid; place-items: center; color: #cfe0d3; overflow: hidden; }
.vid-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vid-open:hover .vid-thumb img { transform: scale(1.04); }
.vid-thumb > svg { width: 52px; height: 52px; opacity: .6; }
.vid-play { position: absolute; width: 62px; height: 62px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
.vid-play svg { width: 30px; height: 30px; margin-left: 3px; }
.vid-open:hover .vid-play { transform: scale(1.1); background: var(--accent); }
.vid-len { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.72); color: #fff; font: 700 .8rem/1 var(--sans); padding: 5px 8px; border-radius: 6px; }
.vid-info { padding: 14px 18px 18px; }
.vid-info h3 { margin: 0 0 6px; font-size: 1.15rem; }
.vid-info p { margin: 0 0 2px; font-size: .95rem; }
.lb-stage.lb-video video { width: 100%; height: 100%; max-width: 100%; max-height: 100%; background: #000; border-radius: 6px; }
.lb-link { color: #cfe6d6; }
.lb-link:hover { color: #fff; }
.q-thumb { width: 76px; height: 76px; border-radius: 8px; background: linear-gradient(135deg, #25392d, #14211a); color: #cfe0d3; display: grid; place-items: center; overflow: hidden; }
.q-thumb svg { width: 32px; height: 32px; opacity: .7; }
.q-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .q-thumb { width: 60px; height: 60px; } }
