/* HobbeCharge — shop, events, cart and dialogs. Extends site.css (same ink / gold / paper, Abel headings, 14px cards). */
:root {
  --ok: #1f5f2a;
  --ok-tint: #e3f1e5;
  --warn-tint: #fdf0d2;
  --err-tint: #f7e3e3;
  --g-ga: #5b3fa0;
  --g-mtg: #8a4b12;
  --g-lancer: #1d5a7a;
  --g-pkm: #a32020;
  --g-rpg: #2f6a2f;
  --g-war: #4a4a4a;
  --g-other: #3a3a3a;
  --flyer-bg: #1b1b1b;
  --shadow: 0 10px 30px rgba(17, 17, 17, 0.25);
}

/* ---------- header cart ---------- */
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cart-count {
  min-width: 1.6em;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  border: 2px solid var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}
.cart-count[hidden] { display: none; }

.demo-notice {
  margin: 0;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--gold);
  text-align: center;
  font-weight: 700;
}
.demo-notice a { color: var(--paper); }
.test-banner {
  margin: 0 0 18px;
  padding: 12px 16px;
  background: var(--error);
  color: var(--paper);
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
}
.notice {
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--warn-tint);
  margin: 0 0 18px;
}
.notice.is-ok { background: var(--ok-tint); }
.notice.is-error { background: var(--err-tint); color: var(--error); }

/* Long event and product names in the black title band wrap instead of pushing the page sideways. */
.page-band h1 { min-width: 0; overflow-wrap: anywhere; }

/* ---------- small pieces ---------- */
.tag,
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  background: var(--paper);
  color: var(--ink);
}
.badge { background: var(--gold); }
.badge-out { background: var(--ink); color: var(--paper); }
.badge-sample { background: var(--tint); }
.tag-plain { font-weight: 600; }
.tag-spots { background: var(--ok-tint); }
.tag-spots.is-full { background: var(--err-tint); }
.tag.g-ga, .tag.g-mtg, .tag.g-lancer, .tag.g-pkm, .tag.g-rpg, .tag.g-war, .tag.g-other { color: var(--paper); border-color: transparent; }
.g-ga { --gc: var(--g-ga); }
.g-mtg { --gc: var(--g-mtg); }
.g-lancer { --gc: var(--g-lancer); }
.g-pkm { --gc: var(--g-pkm); }
.g-rpg { --gc: var(--g-rpg); }
.g-war { --gc: var(--g-war); }
.g-other { --gc: var(--g-other); }
.tag.g-ga, .tag.g-mtg, .tag.g-lancer, .tag.g-pkm, .tag.g-rpg, .tag.g-war, .tag.g-other { background: var(--gc); }

.btn-danger,
button.btn-danger { background: var(--error); color: var(--paper); }
.btn-danger:hover,
button.btn-danger:hover { background: var(--paper); color: var(--error); }
.btn[disabled],
button.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  cursor: pointer;
}
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
select {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  max-width: 100%;
}
input[type="checkbox"],
input[type="radio"] { width: 1.2em; height: 1.2em; accent-color: var(--ink); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 14px; }
.field-row > * { min-width: 0; }
.field-row select { width: 100%; }
.hint { font-weight: 400; color: var(--muted); font-size: 1rem; }
.loading { color: var(--muted); padding: 24px 0; }

/* ---------- flyer: never cropped ---------- */
.flyer {
  position: relative;
  width: 100%;
  max-height: 80vh;
  background: var(--flyer-bg);
  border: 2px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flyer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- events page ---------- */
.ev-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 18px;
}
.seg {
  display: inline-flex;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.seg button {
  font: inherit;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.chip {
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--gold); }
.month-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.month-nav h2 { margin: 0; min-width: 9.5em; text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.icon-btn:hover { background: var(--gold); }

.ev-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ev-day-head {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.2rem;
  margin: 18px 0 4px;
  border-bottom: 2px solid var(--ink);
}
.ev-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-left: 10px solid var(--gc, var(--gold));
  border-radius: 14px;
}
.ev-card.is-cancelled { opacity: 0.7; }
.ev-card.is-cancelled .ev-title { text-decoration: line-through; }
.ev-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
}
.ev-link:hover .ev-title { text-decoration: underline; }
.date-chip {
  display: grid;
  justify-items: center;
  width: 4.4rem;
  padding: 6px 4px;
  background: var(--gold);
  border-radius: 10px;
  line-height: 1.1;
  font-weight: 700;
}
.dc-day { font-family: var(--font-display); font-size: 1.9rem; }
.dc-dow, .dc-mon { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.ev-title { margin: 0 0 2px; font-size: 1.35rem; }
.ev-when { margin: 0 0 6px; color: var(--muted); }
.ev-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ev-thumb { width: 84px; }
.ev-thumb .flyer { border-width: 1px; border-radius: 8px; }
.ev-empty { padding: 24px; border: 2px dashed var(--ink); border-radius: 14px; text-align: center; }

/* month grid */
.cal { border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--paper); }
.cal-head, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-head div {
  background: var(--ink);
  color: var(--gold);
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  padding: 6px 2px;
  text-transform: uppercase;
}
.cal-cell {
  min-height: 7.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4px;
  min-width: 0;
}
.cal-cell:nth-child(7n) { border-right: 0; }
.cal-cell.is-out { background: var(--tint); }
.cal-cell.is-out .cal-num { color: var(--muted); }
.cal-cell.is-today .cal-num { background: var(--ink); color: var(--gold); }
.cal-num {
  display: inline-block;
  min-width: 1.8em;
  padding: 0 4px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
}
.cal-ev {
  display: block;
  margin: 3px 0 0;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--gc, var(--gold));
  color: var(--paper);
  font-size: 0.85rem;
  line-height: 1.25;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cal-ev:hover, .cal-ev:focus-visible { text-decoration: underline; }
.cal-ev.is-cancelled { text-decoration: line-through; opacity: 0.7; }
.cal-ev .t { font-weight: 700; margin-right: 4px; }
.subscribe {
  margin-top: 28px;
  padding: 18px;
  background: var(--tint);
  border: 2px solid var(--ink);
  border-radius: 14px;
}
.subscribe h2 { font-size: 1.4rem; }

/* event page: header band */
.page-band.ev-head { padding: 24px 0 32px; }
.ev-head .wrap { align-items: center; flex-wrap: wrap; }
.ev-head-text { flex: 1 1 20rem; min-width: 0; }
.ev-back { margin: 0 0 10px; }
.ev-back a { color: var(--gold); font-weight: 700; }
.ev-head-when { margin: 8px 0 0; color: var(--gold); font-family: var(--font-display); font-size: clamp(1.35rem, 3.2vw, 1.8rem); letter-spacing: 0.02em; }
.ev-head-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.ev-head-tags .tag { font-size: 1rem; padding: 4px 14px; border-color: var(--paper); }
.tag-spots.is-over { background: var(--tint); }
.ev-back[hidden], .ev-head-when[hidden], .ev-head-tags[hidden] { display: none; }
.ev-head-art { flex: 0 0 auto; }
.ev-head-art > img { display: block; }
.ev-head-art.has-flyer { width: min(100%, 17rem); }
.ev-head-art.has-flyer.is-wide { width: min(100%, 28rem); }
.ev-flyer-link { display: block; color: var(--paper); text-align: center; border-radius: 12px; }
.ev-flyer-link .flyer { border-color: var(--gold); }
/* the band's own picture styles (the dragon) must not reach the flyer */
.ev-head .flyer img { width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: none; box-sizing: border-box; object-fit: contain; }
.ev-flyer-hint { display: block; margin-top: 6px; font-size: 0.95rem; text-decoration: underline; }

/* event page: details card beside the sign-up box */
.ev-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.ev-details { border: 2px solid var(--ink); border-radius: 14px; padding: 20px; background: var(--paper); }
.ev-details h2 { margin: 0 0 8px; font-size: 1.5rem; }
.ev-facts { list-style: none; padding: 0; margin: 16px 0 0; }
.ev-facts li { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ev-facts b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 400; }
.ev-desc { white-space: pre-line; }
.ev-details .ev-desc { margin: 0; }
.cal-add { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.cal-add .btn, .cal-add button.btn { padding: 8px 16px; font-size: 1.05rem; line-height: 1.4; }
.signup-box {
  background: var(--tint);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 0 20px 20px;
}
/* one gold title strip across the top of the box */
.signup-box h2 { margin: 0 -20px 16px; padding: 12px 20px; font-size: 1.5rem; background: var(--gold); border-bottom: 2px solid var(--ink); border-radius: 12px 12px 0 0; }
.signup-box > p:last-child, .signup-box > div > p:last-child { margin-bottom: 0; }
.signup-box form { gap: 12px; max-width: none; }
.signup-box form p { margin: 0; }
.signup-box textarea { min-height: 5.5rem; }
.signup-box select { width: 100%; }
.signup-box .hint { font-size: 0.95rem; line-height: 1.35; }
.signup-box button[type="submit"] { width: 100%; margin-top: 4px; }
.signup-box form .form-status:empty { min-height: 0; height: 0; margin-top: -12px; }
.signup-box > .form-status:empty { min-height: 0; margin: 0; }
#ev-root > .signup-box { max-width: 36rem; margin: 0 auto; } /* the cancel-link box stands alone */

/* ---------- shop ---------- */
.shop-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 0 0 18px; }
.shop-tools[hidden] { display: none; }
.shop-tools label { flex: 1 1 14rem; }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.p-card { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; height: 100%; }
.p-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.p-link:hover .p-name { text-decoration: underline; }
.p-art { aspect-ratio: 1 / 1; background: var(--paper); display: flex; align-items: center; justify-content: center; border-bottom: 2px solid var(--ink); }
.p-art img { width: 100%; height: 100%; object-fit: contain; }
.p-art-blank { background: var(--tint); }
.p-art-blank img { width: 40%; height: auto; }
.p-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 4px; }
.p-name { margin: 0; font-size: 1.2rem; }
.p-cat { margin: 0; color: var(--muted); font-size: 1rem; }
.p-price { margin: auto 0 0; font-weight: 700; font-size: 1.2rem; }
.product-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.product-page .p-art { border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 64px; height: 64px; padding: 0; border: 2px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; overflow: hidden; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.price-big { font-family: var(--font-display); font-size: 2.2rem; margin: 0 0 12px; }
.var-list { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 16px; }
.var-list legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.var-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.var-opt span {
  display: inline-block;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  font-weight: 600;
}
.var-opt input:checked + span { background: var(--gold); }
.var-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.var-opt input:disabled + span { opacity: 0.5; text-decoration: line-through; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: var(--paper); font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--gold); }
.qty input { width: 3.2em; border: 0; border-radius: 0; text-align: center; padding: 8px 0; }
.stock-line { margin: 10px 0 0; font-weight: 700; }

/* ---------- cart / checkout / order ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); }
.cart-line .p-art { width: 72px; border: 1px solid var(--line); border-radius: 8px; }
.cart-line .cart-name { margin: 0; font-size: 1.15rem; }
.cart-line-foot { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-top: 8px; }
.summary { border: 2px solid var(--ink); border-top: 8px solid var(--gold); border-radius: 14px; padding: 18px; background: var(--paper); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.sum-row.total { font-weight: 700; font-size: 1.25rem; border-top: 2px solid var(--ink); padding-top: 8px; margin-top: 8px; }
.method { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.method legend { font-weight: 700; padding: 0; margin-bottom: 6px; }
.method label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 10px; font-weight: 600; }
.method label .hint { display: block; }
.order-code { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3rem); letter-spacing: 0.06em; margin: 0 0 10px; }
.status-steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; }
.status-steps li { padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; background: var(--paper); }
.status-steps li.is-done { background: var(--gold); }
.status-steps li.is-now { background: var(--ink); color: var(--gold); }

/* ---------- dialogs and toasts ---------- */
body.has-dialog { overflow: hidden; }
.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--overlay-soft);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4vh 12px;
  overflow-y: auto;
}
.dialog {
  width: min(36rem, 100%);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-top: 8px solid var(--gold);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.dialog-wide { width: min(60rem, 100%); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 0; }
.dialog-head h2 { margin: 0; font-size: 1.5rem; }
.dialog-close { width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); font-size: 1.6rem; line-height: 1; cursor: pointer; flex: 0 0 auto; color: var(--ink); }
.dialog-close:hover { background: var(--gold); }
.dialog-body { padding: 14px 18px 18px; }
.dialog-body form { max-width: none; }
.toasts { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(30rem, calc(100% - 32px)); }
.toast { margin: 0; padding: 12px 16px; background: var(--ink); color: var(--paper); border-radius: 10px; box-shadow: var(--shadow); transition: opacity 0.4s; font-weight: 600; }
.toast.is-error { background: var(--error); }
.toast.is-out { opacity: 0; }

@media (min-width: 768px) {
  .ev-page { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
  .product-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cart-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .ev-thumb { width: 96px; }
}
@media (max-width: 767px) {
  .ev-head .ev-head-art:not(.has-flyer) { display: none; } /* the title needs the whole width */
  .ev-head-text { flex-basis: 100%; }
  .ev-head-art.has-flyer { margin: 0 auto; }
  .ev-facts li { grid-template-columns: 5rem minmax(0, 1fr); }
  .ev-details { padding: 16px; }
  .cal-cell { min-height: 4.6rem; padding: 2px; }
  .cal-ev { font-size: 0.75rem; padding: 2px 4px; }
  .cal-ev .t { display: none; }
  .ev-link { grid-template-columns: auto minmax(0, 1fr); }
  .ev-thumb { display: none; }
  .nav-cart .cart-word { display: inline; }
  .month-nav h2 { min-width: 0; flex: 1 1 8em; }
  .month-nav .btn { flex: 1 0 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .toast { transition: none; }
}

/* the online shop before it opens */
.coming-soon {
  background: var(--tint);
  border: 2px solid var(--ink);
  border-top: 8px solid var(--gold);
  border-radius: 14px;
  padding: 20px;
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}
.coming-soon h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.coming-soon .btn-row { justify-content: center; margin-bottom: 0; }
h1:has(+ .coming-soon) { text-align: center; } /* the product page puts a heading above the card */

/* Find the door (contact page) */
.find-door { margin: 18px 0 24px; }
.find-door h3 { margin: 0 0 10px; }
.door-map { display: block; width: 100%; height: 320px; border: 2px solid var(--ink); border-radius: 6px; background: var(--tint); }
.find-door .btn-row { margin: 12px 0; }
.door-look { margin: 0; display: flex; align-items: center; gap: 14px; }
.door-look img { width: 96px; height: auto; border: 2px solid var(--ink); border-radius: 6px; }
.door-look figcaption { font-weight: 600; }
@media (max-width: 600px) { .door-map { height: 260px; } }

/* ---------- About: photo gallery + lightbox ---------- */
/* Columns are set for the four "inside" photos so every row is full: 1, then 2 x 2, then 4 across. */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
@media (min-width: 480px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery figure { margin: 0; min-width: 0; }
.gal-link { display: block; border-radius: 14px; }
.gal-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.gallery img, .photo-strip .gal-link img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--ink); border-radius: 14px; }
.photo-strip figure { flex: 0 1 100%; }
@media (min-width: 700px) { .photo-strip figure { flex: 0 1 calc(33.333% - var(--gap)); } }
.photo-strip figcaption { margin-top: 6px; }
.lightbox { position: fixed; inset: 0; z-index: 70; background: var(--overlay-strong); display: flex; align-items: center; justify-content: center; padding: 12px; }
.lightbox[hidden] { display: none; }
.lightbox-box { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox-box img { display: block; max-width: min(92vw, 1100px); max-height: 80vh; width: auto; height: auto; border: 2px solid var(--paper); border-radius: 10px; background: var(--ink); }
.lightbox-cap { color: var(--paper); margin: 10px 0 0; text-align: center; font-weight: 600; }
.lightbox-close, .lightbox-nav { position: absolute; width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--ink); background: var(--gold); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox-close { top: -6px; right: -6px; z-index: 2; }
.lightbox-nav { top: 40%; z-index: 2; }
.lightbox-prev { left: 6px; }
.lightbox-next { right: 6px; }
.lightbox-nav[hidden] { display: none; }
