/* Hallmark · custom · genre: atmospheric · Gerbens foto- en videoarchief */
@font-face {
  font-family: Bricolage;
  src: url('/assets/display.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #191a17;
  --panel: #232420;
  --ink: #f4f1e8;
  --muted: #b7b7ac;
  --line: #3b3b34;
  --accent: #e4bc82;
  --day: #d8b582;
  --deep: #231e17;
  --focus: #ffe099;
  --dim: #96978a;
  --on-sand: #493c29;
  --line-strong: #636459;
  --hover: #34352e;
  --selected: #414239;
  --stage: #11120f;
  --photo-line: #f4f1e880;
  --photo-button: #16181385;
  --shadow: #17171488;
  --paper-light: #e1c296;
  --paper-dark: #c9a673;
  --contour: #755c392b;
  --sand-line: #493b2866;
  --danger: #f1aba0;
  --error: #ffb8a9;
  --photo-wash: rgba(12, 14, 12, 0.12);
  --photo-shade: rgba(9, 11, 10, 0.82);
  --tag-surface: rgba(24, 26, 24, 0.84);
  --tag-edge: rgba(244, 241, 232, 0.24);
  --backdrop: rgba(10, 12, 10, 0.89);
  --sans: 'Segoe UI', Arial, sans-serif;
  --display: Bricolage, 'Segoe UI', Arial, sans-serif;
  --mono: ui-monospace, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html,
body {
  overflow-x: clip;
}
html {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  scroll-padding: 1rem;
}
body {
  margin: 0;
  min-width: 0;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.file-button:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
button:disabled {
  cursor: not-allowed;
  color: var(--dim);
  background: var(--panel);
  border-color: var(--line);
  opacity: 0.65;
}
svg {
  flex: none;
  vertical-align: middle;
}
.wrap {
  width: min(100% - clamp(2.25rem, 8vw, 9rem), 1512px);
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 8;
  background: var(--accent);
  color: var(--deep);
  padding: 0.75rem 1rem;
}
.skip:focus {
  top: 0.75rem;
}
.mast {
  border-bottom: 1px solid var(--line);
}
.mast-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font: 800 24px/1 var(--display);
  letter-spacing: -1.2px;
  white-space: nowrap;
}
.brand-mark {
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-right: 8px;
}
.brand-period,
.dot {
  color: var(--accent);
}
.mast nav,
.mast nav a,
.admin-link,
.foot > span,
.foot a,
.back,
.text-link {
  display: inline-flex;
  align-items: center;
}
.mast nav {
  gap: 32px;
  height: 100%;
}
.mast nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  text-decoration: none;
  min-height: 44px;
}
.mast nav a[aria-current='page'],
.mast nav a:hover {
  color: var(--ink);
}
.mast nav a[aria-current='page']:not(.admin-link)::after {
  content: '';
  height: 2px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  background: var(--accent);
}
.mast nav .admin-link {
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  gap: 8px;
  padding: 0 16px;
  min-height: 36px;
  font-size: 13px;
  color: var(--ink);
}
.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(28px, 2.9vw, 48px) 0 24px;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2,
.tile-caption strong,
.gear-caption strong {
  font-family: var(--display);
  font-weight: 800;
}
.intro h1,
.subintro h1,
.admin-heading h1 {
  font-size: clamp(52px, 6.1vw, 94px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}
.intro p,
.subintro > p,
.admin-heading p,
.login-box > p {
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  margin-top: 12px;
  line-height: 1.5;
}
.collection {
  border-left: 1px solid var(--line);
  padding: 2px 0 2px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 4px;
}
.collection-icon {
  color: var(--accent);
}
.collection small,
.collection b {
  display: block;
}
.collection small {
  color: var(--muted);
  font-size: 12px;
}
.collection b {
  font-size: 17px;
  line-height: 1.35;
}
.collection > svg {
  margin-left: 4px;
  color: var(--muted);
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.filters,
.views {
  display: flex;
  align-items: center;
  gap: 4px;
}
.filters a,
.views a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 5px;
}
.filters a {
  min-height: 38px;
  padding: 4px 16px;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.filters a span {
  font: 11px var(--mono);
  color: var(--muted);
}
.filters a[aria-current='true'] {
  background: var(--ink);
  color: var(--deep);
}
.filters a[aria-current='true'] span {
  color: var(--on-sand);
}
.filters a:hover:not([aria-current='true']),
.views a:hover,
.icon-button:hover,
.secondary:hover,
.admin-link:hover {
  background: var(--hover);
}
.views {
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 6px;
  gap: 2px;
}
.views a {
  height: 34px;
  width: 36px;
  color: var(--muted);
}
.views a[aria-current='true'] {
  background: var(--selected);
  color: var(--ink);
}
.gallery {
  display: grid;
  gap: 8px;
}
.mosaic {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-template-rows: repeat(2, clamp(146px, 13.7vw, 224px));
  grid-auto-rows: clamp(176px, 15.2vw, 248px);
}
.mosaic > .tile,
.mosaic > .gear-tile {
  grid-column: span 3;
}
.mosaic > .tile-1 {
  grid-column: 1 / span 6;
  grid-row: 1 / span 2;
}
.mosaic > .tile-2 {
  grid-column: 7 / span 3;
  grid-row: 1;
}
.mosaic > .tile-3 {
  grid-column: 10 / span 3;
  grid-row: 1 / span 2;
}
.mosaic > .gear-tile {
  grid-column: 7 / span 3;
  grid-row: 2;
}
.regular {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  grid-auto-rows: clamp(200px, 21vw, 320px);
}
.tile,
.gear-tile {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  background: var(--panel);
  border-radius: 6px;
  min-width: 0;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--photo-wash),
    transparent 37%,
    var(--photo-wash) 52%,
    var(--photo-shade) 100%
  );
  pointer-events: none;
}
.type-tag,
.tile-caption,
.tile-open {
  position: absolute;
  z-index: 1;
}
.type-tag {
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: var(--tag-surface);
  border: 1px solid var(--tag-edge);
  border-radius: 4px;
  padding: 4px 8px;
  font: 500 11px/1.1 var(--sans);
  min-height: 23px;
}
.tag-rule {
  height: 10px;
  width: 1px;
  background: var(--muted);
}
.tile-caption {
  bottom: 19px;
  left: 19px;
  right: 43px;
  display: grid;
  gap: 4px;
  color: var(--ink);
  text-shadow: 0 1px 4px var(--shadow);
}
.place {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 500;
}
.tile-caption strong,
.gear-caption strong {
  line-height: 1.02;
  font-size: clamp(20px, 1.95vw, 34px);
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.mosaic > .tile-1 .tile-caption {
  left: clamp(22px, 2.2vw, 36px);
  bottom: clamp(24px, 2.2vw, 36px);
  right: 66px;
  gap: 8px;
}
.mosaic > .tile-1 .tile-caption strong {
  font-size: clamp(37px, 4.4vw, 72px);
}
.mosaic > .tile-1 .place {
  font-size: 14px;
}
.mosaic > .tile-1 .type-tag,
.mosaic > .tile-3 .type-tag {
  top: 20px;
  left: 20px;
}
.tile-open,
.gear-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--photo-line);
  border-radius: 50%;
  color: var(--ink);
}
.tile-open {
  bottom: 16px;
  right: 14px;
  background: var(--photo-button);
}
.mosaic > .tile-1 .tile-open {
  width: 42px;
  height: 42px;
  bottom: 28px;
  right: 24px;
}
.gear-tile {
  background: var(--day);
  color: var(--deep);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.gear-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--paper-light) 5%, var(--day) 72%, var(--paper-dark));
  z-index: -2;
}
.contours {
  position: absolute;
  z-index: -1;
  width: 110%;
  height: 176%;
  left: 34%;
  top: -70%;
  transform: rotate(-24deg);
  border-radius: 46% 60% 35% 80%;
  background: repeating-radial-gradient(
    ellipse at 73% 28%,
    transparent 0 12px,
    var(--contour) 13px,
    transparent 14px 19px
  );
  pointer-events: none;
}
.gear-icon {
  line-height: 1;
}
.gear-caption {
  display: grid;
  gap: 4px;
  padding-right: 28px;
}
.gear-caption > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--on-sand);
}
.gear-arrow {
  position: absolute;
  right: 14px;
  bottom: 16px;
  border-color: var(--sand-line);
  color: var(--deep);
}
@media (hover: hover) {
  .gear-tile:hover .gear-arrow,
  .tile:hover .tile-open {
    background: var(--ink);
    color: var(--deep);
  }
}
.list .tile {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 92px;
  padding: 8px 20px 8px 8px;
  border: 1px solid var(--line);
}
.list .tile::after,
.list .tile-open {
  display: none;
}
.list .tile img {
  position: static;
  width: 110px;
  height: 72px;
  border-radius: 3px;
  grid-column: 1;
  grid-row: 1;
}
.list .tile-caption {
  position: static;
  grid-column: 2;
  grid-row: 1;
  text-shadow: none;
  color: var(--ink);
}
.list .type-tag {
  position: static;
  grid-column: 3;
  grid-row: 1;
}
.list .place {
  color: var(--muted);
}
.list .tile-caption strong {
  font-size: 22px;
}
.empty,
.detail-note {
  color: var(--muted);
  max-width: 76ch;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 12px;
}
.foot > span,
.foot a,
.back,
.text-link {
  gap: 8px;
}
.foot a,
.back,
.text-link {
  text-decoration: none;
  min-height: 32px;
}
.foot-slash {
  color: var(--dim);
}
.back:hover,
.foot a:hover,
.text-link:hover,
.credit-line a:hover {
  text-decoration: underline;
}
.subintro,
.admin-heading {
  padding: 48px 0 32px;
}
.subintro h1,
.admin-heading h1 {
  font-size: clamp(44px, 5vw, 74px);
}
.subintro .back {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}
.subintro > p {
  max-width: 65ch;
}
.gear-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.gear-list article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 28px;
}
.device-icon {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
}
.gear-list h2,
.credits-list h2,
.drop h2 {
  font-size: 24px;
  letter-spacing: -0.035em;
}
.gear-list p,
.credits-list li span,
.credit-line {
  color: var(--muted);
}
.credits-list {
  padding: 0;
  list-style: none;
  margin: 32px 0;
}
.credits-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 20px;
}
.credits-list img {
  object-fit: cover;
  border-radius: 3px;
}
.credits-list h2 {
  font-size: 19px;
}
.credits-list li span {
  font-size: 14px;
}
.paging,
.actions,
.viewer-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.paging {
  justify-content: center;
  margin: 20px 0;
}
dialog {
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  max-width: calc(100% - 24px);
  max-height: calc(100dvh - 24px);
  padding: 24px;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: var(--backdrop);
}
html:has(dialog[open]) {
  overflow-y: hidden;
}
#viewer {
  width: min(1140px, calc(100% - 48px));
  background: var(--panel);
  padding: 0;
}
.viewer-body {
  padding: 16px 20px;
}
.viewer-tools,
.viewer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.viewer-tools {
  padding-bottom: 12px;
  font-size: 14px;
}
.viewer-tools > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.viewer-tools > span svg {
  color: var(--accent);
}
.icon-button {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}
.stage {
  display: grid;
  place-items: center;
  background: var(--stage);
}
.stage img,
.stage video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 60dvh;
  object-fit: contain;
}
.stage video {
  width: 100%;
}
.viewer-bottom {
  align-items: flex-start;
  padding-top: 16px;
}
.viewer-bottom h1 {
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.viewer-bottom p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
  max-width: 74ch;
  overflow-wrap: anywhere;
}
.viewer-bottom .credit-line {
  font-size: 12px;
}
.viewer-nav {
  gap: 8px;
  flex: none;
}
.viewer-body a:focus-visible {
  outline-offset: 2px;
}
.admin-page {
  max-width: 1000px;
  margin: auto;
}
.login-box {
  max-width: 420px;
  margin: 64px auto 12px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.lock-mark,
.upload-icon {
  color: var(--accent);
  margin-bottom: 12px;
}
.login-box h1 {
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.06em;
}
.login-box form {
  margin-top: 24px;
}
.login-box > p {
  font-size: 15px;
}
form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
input:not([type='checkbox']):not([type='file']),
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--ink);
  background: var(--bg);
  padding: 8px 12px;
  min-height: 42px;
}
textarea {
  resize: vertical;
}
.password-field {
  position: relative;
  margin: 8px 0 16px;
}
.password-field input {
  padding-right: 44px !important;
}
.password-field button {
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  display: grid;
  place-items: center;
  width: 40px;
  border: 0;
  color: var(--muted);
  background: transparent;
}
.primary,
.secondary,
.danger,
.file-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  padding: 8px 16px;
  min-height: 42px;
}
.primary,
.file-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--deep);
}
.secondary {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
}
.danger {
  border: 1px solid var(--danger);
  background: var(--danger);
  color: var(--deep);
}
.login-box .primary {
  width: 100%;
}
.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.drop {
  padding: 32px 16px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  background: var(--panel);
}
.drop.dragging {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
.drop p,
.admin-row p {
  font-size: 14px;
  color: var(--muted);
  margin: 4px 0 12px;
}
.drop .upload-icon {
  display: block;
}
.file-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.file-button input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.admin-title {
  margin: 28px 0 12px;
  font-size: 26px;
  letter-spacing: -0.04em;
}
.admin-row {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.admin-row img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 3px;
}
.admin-row h3 {
  font-size: 16px;
  margin: 0;
  overflow-wrap: anywhere;
}
.admin-row p {
  margin: 2px 0 0;
}
.row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}
.row-actions button,
.row-actions .file-button {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  min-height: 38px;
  padding: 8px 8px;
}
#editor,
#delete-dialog {
  width: min(480px, calc(100% - 24px));
}
#editor h2,
#delete-dialog h2 {
  line-height: 1.15;
  margin-bottom: 16px;
}
#edit label {
  margin-top: 12px;
}
#edit input,
#edit textarea,
#edit select {
  margin-top: 4px;
}
#edit .check {
  display: flex;
  align-items: center;
  gap: 8px;
}
#edit .check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent);
}
#edit .actions,
#delete-dialog .actions {
  margin-top: 16px;
}
#status,
#uploads > p,
.error {
  margin: 12px 0;
  color: var(--accent);
  overflow-wrap: anywhere;
}
.error {
  color: var(--error);
}
.admin-page:has(.login-box) > #status {
  text-align: center;
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .mast-inner {
    height: 64px;
  }
  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: clamp(188px, 26vw, 236px);
  }
  .mosaic > .tile,
  .mosaic > .gear-tile {
    grid-column: auto;
    grid-row: auto;
  }
  .mosaic > .tile-1 {
    grid-column: span 2;
    grid-row: auto;
    height: auto;
  }
  .mosaic > .tile-1 .tile-caption strong {
    font-size: 44px;
  }
  .mosaic > .gear-tile {
    min-height: 0;
  }
  .tile-caption strong {
    font-size: 25px;
  }
  .list .tile-caption strong {
    font-size: 20px;
  }
  .intro {
    padding: 32px 0 24px;
  }
  .regular {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .mast-inner {
    height: 62px;
    gap: 8px;
  }
  .brand {
    font-size: 20px;
    letter-spacing: -1px;
  }
  .brand-mark {
    margin-right: 8px;
  }
  .brand-mark svg {
    width: 23px;
    height: 23px;
  }
  .mast nav {
    gap: 16px;
  }
  .mast nav a {
    font-size: 13px;
  }
  .mast nav .admin-link {
    border: 0;
    padding: 0;
    min-height: 44px;
    gap: 4px;
  }
  .intro {
    display: block;
    padding: 28px 0 16px;
  }
  .intro h1 {
    font-size: 56px;
  }
  .intro p {
    font-size: 15px;
    max-width: 37ch;
    margin-top: 8px;
  }
  .collection {
    border: 0;
    padding: 0;
    gap: 8px;
    margin: 12px 0 0;
    min-height: 28px;
    width: fit-content;
  }
  .collection-icon svg {
    width: 15px;
    height: 15px;
  }
  .collection small,
  .collection b {
    display: inline;
    font-size: 12px;
    font-weight: 500;
  }
  .collection small::after {
    content: ' · ';
    color: var(--muted);
  }
  .collection > svg {
    width: 12px;
    margin: 0;
  }
  .toolbar {
    padding: 8px 0;
    gap: 4px;
  }
  .filters,
  .views {
    gap: 1px;
  }
  .filters a {
    padding: 4px 8px;
    gap: 4px;
    min-height: 40px;
    font-size: 13px;
  }
  .views {
    padding: 2px;
  }
  .views a {
    width: 37px;
    height: 38px;
  }
  .mosaic,
  .regular {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 8px;
  }
  .mosaic > .tile,
  .regular > .tile {
    grid-column: 1;
    aspect-ratio: 1.65;
  }
  .mosaic > .tile-1 {
    aspect-ratio: 1.35;
  }
  .mosaic > .tile-3 {
    aspect-ratio: 1.45;
  }
  .mosaic > .tile-1 .tile-caption {
    left: 18px;
    bottom: 20px;
  }
  .mosaic > .tile-1 .tile-caption strong {
    font-size: 39px;
  }
  .mosaic > .tile-1 .type-tag,
  .mosaic > .tile-3 .type-tag,
  .type-tag {
    top: 14px;
    left: 14px;
  }
  .mosaic > .tile-1 .tile-open {
    width: 33px;
    height: 33px;
    right: 15px;
    bottom: 18px;
  }
  .gear-tile {
    min-height: 126px !important;
    padding: 16px;
  }
  .gear-tile .gear-caption strong {
    font-size: 25px;
  }
  .tile-caption {
    left: 16px;
    bottom: 16px;
  }
  .mosaic > .tile-3 img {
    object-position: center 42%;
  }
  .list .tile {
    gap: 8px;
    min-height: 74px;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    padding: 8px;
  }
  .list .tile img {
    width: 64px;
    height: 56px;
  }
  .list .tile-caption strong {
    font-size: 17px;
  }
  .list .place {
    font-size: 11px;
  }
  .list .type-tag {
    font-size: 10px;
    padding: 4px 4px;
    gap: 4px;
  }
  .list .type-tag svg {
    width: 11px;
  }
  .foot {
    margin-top: 28px;
    padding: 16px 0 24px;
    font-size: 11px;
  }
  .subintro,
  .admin-heading {
    padding: 28px 0 20px;
  }
  .gear-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .gear-list article {
    padding: 20px;
  }
  .credits-list li {
    gap: 12px;
  }
  .credits-list img {
    width: 68px;
    height: 56px;
  }
  #viewer {
    width: calc(100% - 12px);
    max-width: calc(100% - 12px);
  }
  .viewer-body {
    padding: 8px;
  }
  .viewer-bottom {
    flex-wrap: wrap;
    gap: 8px;
  }
  .viewer-tools {
    padding-bottom: 8px;
  }
  .stage img,
  .stage video {
    max-height: 54dvh;
  }
  .admin-row {
    flex-wrap: wrap;
  }
  .row-actions {
    margin-left: 0;
    flex-basis: 100%;
  }
  .admin-heading {
    align-items: flex-start;
  }
  .login-box {
    margin-top: 32px;
    padding: 24px;
  }
  .foot > span,
  .foot a {
    gap: 4px;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .mast nav {
    gap: 8px;
  }
  .brand {
    font-size: 18px;
  }
  .mast nav .admin-link svg {
    display: none;
  }
  .filters a {
    padding-inline: 8px;
  }
  .intro h1 {
    font-size: 49px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

h1,
h2,
.tile-caption strong,
.gear-caption strong {
  text-wrap: balance;
}
.tile-caption strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
button:not(:disabled):active,
.file-button:active,
.views a:active,
.filters a:active {
  box-shadow: inset 0 0 0 2px currentColor;
}
