:root {
  --ink: #12151a;
  --muted: #5a6570;
  --paper: #f2efe8;
  --panel: #fffcf8;
  --line: #d8d2c6;
  --ok: #0f6b4c;
  --ok-soft: #d8f0e4;
  --ok-ink: #084a34;
  --warn: #b42318;
  --warn-soft: #fde8e4;
  --warn-ink: #8f1d14;
  --accent: #243b55;
  --shadow: 0 1px 0 rgba(18, 21, 26, 0.04), 0 18px 40px rgba(18, 21, 26, 0.06);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #e8e4db 0%, var(--paper) 38%, #e7ebe8 100%);
  min-height: 100dvh;
}

.shell {
  width: min(820px, calc(100% - 28px));
  margin: 0 auto;
  padding: 36px 0 56px;
}

.mast {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.mast__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.link-old {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-old:hover { color: var(--ink); }

.btn-ghost,
.btn-primary {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: var(--panel);
  color: var(--ink);
}

.btn-primary {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff8f0;
}

.alert {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--warn-soft);
  color: var(--warn-ink);
}

.alert.is-ok {
  background: var(--ok-soft);
  color: var(--ok-ink);
}

.auth.card-panel,
.card-panel {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.auth-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.auth-form input {
  flex: 1;
  min-width: 140px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.install {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 12px 12px 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  line-height: 1.4;
}

.install span { flex: 1 1 180px; }

.install__hide {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
}

@media (display-mode: standalone) {
  body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .kicker,
  .link-old,
  .install { display: none; }
}

.kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-home {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-home:hover,
.site-home:focus-visible {
  color: var(--ink);
  border-bottom-color: currentColor;
  outline: none;
}

h1 {
  margin: 4px 0 0;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.mast__note {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.45;
}

.now {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 14px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px 18px 18px 18px;
  box-shadow: var(--shadow);
}

.now__label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.now__state {
  margin: 6px 0 0;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.55rem;
}

.now__detail {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.now__dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0 0;
}

.now__dl dt {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.now__dl dd {
  margin: 2px 0 0;
  font-weight: 600;
}

.now__shot-wrap {
  position: relative;
  margin: 0;
  min-height: 160px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ddd;
}

.now__shot-wrap .now__shot {
  border: 0;
  border-radius: 0;
  display: block;
}

.now__shot {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ddd;
}

.now__shot-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px 12px;
  background: linear-gradient(transparent, rgba(28, 22, 16, 0.82));
  color: #fff8f0;
  font-size: 0.95rem;
  line-height: 1.25;
}

.now__shot-cap-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.now__shot-cap strong {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.now__shot--empty {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.tabs {
  display: inline-flex;
  gap: 0;
  margin: 18px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 252, 248, 0.7);
}

.tabs button {
  border: 0;
  background: transparent;
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

.tabs button.is-on {
  background: var(--ink);
  color: #fff;
}

.summary {
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.summary h2 {
  margin: 0;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.25rem;
}

.summary__lead {
  margin: 10px 0 0;
  line-height: 1.5;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.stat {
  position: relative;
  padding: 12px 12px 14px;
  text-align: left;
  background: #f4f1ea;
  border-radius: 14px;
  border: 1px solid transparent;
  min-width: 0;
  overflow: hidden;
}

.stat__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.stat__val {
  display: block;
  margin-top: 4px;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--ink);
}

.stat__note {
  display: -webkit-box;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(18, 21, 26, 0.1);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* нейтральные */
.stat--pc,
.stat--active {
  background: #eef1f4;
  border-color: #d3dae3;
}

.stat--pc .stat__label,
.stat--active .stat__label {
  color: #4a5a6a;
}

.stat--pc .stat__val,
.stat--active .stat__val {
  color: #243b55;
}

/* учился — зелёный */
.stat--study {
  background: linear-gradient(165deg, #e7f7ef 0%, #cfeedd 100%);
  border-color: #6fb894;
  box-shadow: inset 4px 0 0 var(--ok);
}

.stat--study .stat__label {
  color: var(--ok-ink);
}

.stat--study .stat__val {
  color: var(--ok-ink);
  font-size: 1.4rem;
}

.stat--study .stat__note {
  border-top-color: rgba(15, 107, 76, 0.22);
  color: #145c40;
}

/* отвлекался — красный */
.stat--distract {
  background: linear-gradient(165deg, #fff1ee 0%, #fcd9d2 100%);
  border-color: #e8a295;
  box-shadow: inset 4px 0 0 var(--warn);
}

.stat--distract .stat__label {
  color: var(--warn-ink);
}

.stat--distract .stat__val {
  color: var(--warn-ink);
  font-size: 1.4rem;
}

.stat--distract .stat__note {
  border-top-color: rgba(180, 35, 24, 0.2);
  color: #7a241c;
}

.stat--distract.is-empty {
  background: #f7f3ef;
  border-color: #e2d8cf;
  box-shadow: inset 4px 0 0 #c4b4a6;
  opacity: 0.85;
}

.stat--distract.is-empty .stat__label,
.stat--distract.is-empty .stat__val,
.stat--distract.is-empty .stat__note {
  color: #7a6e64;
}

.summary--arch {
  padding: 0;
  margin: 0 0 10px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.summary--arch .summary__top h2 {
  font-size: 1.1rem;
}

.summary--arch .stats {
  margin-top: 8px;
  gap: 8px;
}

.summary--arch .stat {
  padding: 10px 10px 12px;
}

.summary--arch .stat__val {
  font-size: 1.1rem;
}

.summary--arch .stat--study .stat__val,
.summary--arch .stat--distract .stat__val {
  font-size: 1.15rem;
}

.summary--arch .stat__note {
  font-size: 0.7rem;
  margin-top: 6px;
  padding-top: 6px;
}

.h {
  margin: 22px 0 10px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.muted { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }

.btn-act {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.btn-act:hover {
  border-color: #1f5c45;
}

.btn-act__label {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 650;
}

.btn-act__count {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

.btn-act__chev {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.btn-act[aria-expanded="true"] .btn-act__chev {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.act-panel {
  margin-top: 8px;
  padding: 4px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
}

.act-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.act {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid #b7c0c8;
}

.act:last-child { border-bottom: 0; }

.act--ok { border-left-color: var(--ok); background: linear-gradient(90deg, var(--ok-soft), transparent 40%); }
.act--warn { border-left-color: var(--warn); background: linear-gradient(90deg, var(--warn-soft), transparent 40%); }
.act--prep { border-left-color: #4a6fa5; }

.act time {
  color: var(--muted);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.act__body strong {
  display: block;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.3;
}

.act__meta {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.shot.is-more { display: none; }

.shot__okno {
  display: block;
  margin-top: 2px;
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-more {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(255, 252, 248, 0.85);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn-more:hover {
  border-style: solid;
  background: #fff;
}

.shot {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.shot figcaption {
  padding: 6px 8px;
  font-size: 0.78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.feed { display: grid; gap: 6px; margin-top: 10px; }
.event {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 10px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.event time { color: var(--muted); font-variant-numeric: tabular-nums; }
.event .meta { display: block; margin-top: 2px; color: var(--muted); font-size: 0.84rem; }

@media (max-width: 900px) {
  .shots { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .shell {
    width: calc(100% - 20px);
    padding: 20px 0 40px;
  }

  .mast {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .mast__actions {
    justify-content: flex-start;
  }

  .link-old {
    white-space: nowrap;
  }

  h1 {
    font-size: 1.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .now {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 12px;
  }

  .now__shot,
  .now__shot-wrap {
    min-height: 140px;
    max-height: 200px;
  }

  .now__shot-wrap .now__shot {
    max-height: 200px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .stat {
    padding: 10px 10px 12px;
  }

  .stat__label {
    letter-spacing: 0.04em;
    font-size: 0.62rem;
    white-space: nowrap;
  }

  .stat__val {
    font-size: 1.1rem;
    white-space: nowrap;
  }

  .stat--study .stat__val,
  .stat--distract .stat__val {
    font-size: 1.12rem;
  }

  .stat__note {
    font-size: 0.68rem;
    margin-top: 6px;
    padding-top: 6px;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: manual;
  }

  .block em { display: none; }

  .shots { grid-template-columns: repeat(2, 1fr); gap: 6px; }

  .act {
    grid-template-columns: 4.8rem 1fr;
    padding: 9px 12px;
    gap: 8px;
  }

  .now__dl { grid-template-columns: 1fr 1fr; }

  .btn-act,
  .btn-more,
  .btn-shots {
    min-height: 44px;
  }

  .tabs button {
    min-height: 40px;
    padding: 8px 14px;
  }

  .arch__thumbs {
    margin-left: 0;
    width: 100%;
  }

  .arch__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lb {
    padding: 12px 10px;
    align-items: flex-end;
  }

  .lb__panel {
    width: 100%;
    max-height: 92dvh;
    border-radius: 16px 16px 0 0;
    padding: 14px 12px 20px;
  }

  .lb__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 380px) {
  h1 { font-size: 1.45rem; }
  .stat__label { letter-spacing: 0.02em; font-size: 0.58rem; }
  .stat__val { font-size: 1rem; }
  .stat--study .stat__val,
  .stat--distract .stat__val { font-size: 1.02rem; }
}
/* Visual day strip + archive */

.strip {
  margin: 0 0 8px;
  padding: 14px 14px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.strip__hours {
  position: relative;
  height: 18px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.strip__hours span {
  position: absolute;
  transform: translateX(-50%);
}

.strip__track {
  position: relative;
  height: 52px;
  border-radius: 10px;
  background:
    repeating-linear-gradient(
      90deg,
      #ebe6dc 0,
      #ebe6dc 1px,
      transparent 1px,
      transparent calc(100% / 14)
    ),
    #f7f3eb;
  border: 1px solid var(--line);
  overflow: hidden;
}

.strip--compact .strip__track { height: 28px; }
.strip--compact .strip__hours { display: none; }
.strip--compact .block em { display: none; }
.strip--compact .strip__legend { display: none; }

.block {
  position: absolute;
  top: 8px;
  bottom: 8px;
  border-radius: 8px;
  min-width: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 6px;
}

.strip--compact .block {
  top: 5px;
  bottom: 5px;
  border-radius: 5px;
}

.block em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.b-urok { background: #0f6b4c; }
.b-warn { background: #b42318; }
.b-prep { background: #4a6fa5; }
.b-other { background: #8a929a; }

.strip__legend {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

.strip__legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}

.strip__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.summary__top h2 {
  margin: 0 0 6px;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.35rem;
}

.archive {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.arch {
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.arch.is-current {
  border-color: #1f5c45;
  box-shadow: 0 0 0 3px rgba(31, 92, 69, 0.12);
}

.arch .summary--arch {
  margin-bottom: 8px;
}

.arch .strip {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.strip--click {
  cursor: pointer;
}

.strip--click .strip__track {
  transition: box-shadow 0.15s ease;
}

.strip--click:hover .strip__track {
  box-shadow: inset 0 0 0 2px rgba(31, 92, 69, 0.35);
}

.strip__hover {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 2px solid #1f5c45;
  transform: translateX(-1px);
  pointer-events: none;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1f5c45;
  padding-left: 4px;
  padding-top: 2px;
  background: linear-gradient(90deg, rgba(31, 92, 69, 0.12), transparent 28px);
}

.strip__hint {
  margin-left: auto;
  color: var(--accent, #1f5c45);
  font-weight: 600;
}

.strip--compact .strip__hint {
  display: block;
  margin: 6px 0 0;
  font-size: 0.75rem;
}

@media (max-width: 700px) {
  .strip {
    padding: 12px 10px 8px;
  }

  .strip__track {
    height: 44px;
  }

  .strip__hours {
    font-size: 0.62rem;
  }

  .block em {
    font-size: 0.6rem;
  }

  .strip__legend {
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 0.72rem;
  }

  .strip__hint {
    margin-left: 0;
    width: 100%;
  }

  .arch {
    padding: 12px;
  }

  .lb__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.arch__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-shots {
  border: 1px solid var(--line);
  background: #1f5c45;
  color: #fff8f0;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-shots:hover { filter: brightness(1.08); }

.arch__noshot {
  font-size: 0.8rem;
  color: var(--muted);
}

.arch__thumbs {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.arch__thumb {
  width: 52px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #ddd;
}

.arch__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(20, 16, 12, 0.55);
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.lb[hidden] { display: none !important; }

.lb__panel {
  width: min(960px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  background: #fffaf4;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: 18px 18px 22px;
}

.lb__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.lb__kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lb__head h2 {
  margin: 4px 0 0;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 1.35rem;
}

.lb__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #ece8e0;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lb__meta {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.lb__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.lb__shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #ddd;
}

.lb__shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.lb__shot figcaption {
  padding: 6px 8px 8px;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  background: var(--panel, #fff);
}

.lb__shot figcaption span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb__empty {
  margin: 24px 0;
  text-align: center;
  color: var(--muted);
}

