:root{color-scheme:dark;font:17px/1.5 system-ui,sans-serif;background:#0c1018;color:#f7f3e9;--gold:#d9b66c}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.2rem 4vw;border-bottom:1px solid #3d4350}header strong{letter-spacing:.2em;color:var(--gold)}nav{display:flex;gap:.5rem;flex-wrap:wrap}main,#status{max-width:1400px;margin:1rem auto;padding:0 4vw}#status{min-height:1.6em;color:var(--gold)}h1{font-size:clamp(1.7rem,4vw,2.7rem);font-weight:500}h2,h3{font-weight:500}button{font:inherit;border:1px solid #82704f;border-radius:.4rem;padding:.6rem .9rem;background:#192331;color:#fff;cursor:pointer}button:hover{border-color:var(--gold)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #67d5ed;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}label{display:block;margin:.8rem 0}input,select,textarea{font:inherit;display:block;width:100%;padding:.55rem;border:1px solid #596272;border-radius:.3rem;background:#111b29;color:#fff}input[type=checkbox]{display:inline;width:auto;margin-right:.6rem}form{max-width:38rem}details{margin:1.2rem 0}.album-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.album{text-align:left;padding:1.4rem;min-height:170px}.album span{color:var(--gold)}.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin:1rem 0}.photo-grid img{width:100%;aspect-ratio:3/4;object-fit:contain;background:#121822}.manage-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(300px,1.5fr);gap:2rem}article{border:1px solid #444d5b;border-radius:.5rem;padding:1rem;margin:0 0 1rem}p{overflow-wrap:anywhere}whms-portfolio-gallery{display:block;width:100%}@media(max-width:750px){header{align-items:flex-start;flex-direction:column}.manage-grid{display:block}.manage-grid>section{margin-bottom:2rem}nav button{font-size:.9rem}main,#status{padding:0 5vw}}

main.clubx-portfolio {
  max-width: 1740px;
  padding-inline: clamp(8px, 2vw, 30px);
}
.clubx-portfolio .album-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
}
.album-overview-grid .album:has(.album-preview) {
  padding: 0 1.25rem 1rem;
  overflow: hidden;
}
.album-overview-grid .album-preview {
  display: block;
  aspect-ratio: 4 / 3;
  margin: 0 -1.25rem 1rem;
  background: #121822;
}
.album-overview-grid .album-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-header {
  display: block;
  position: relative;
  z-index: 2;
  padding: .85rem clamp(12px, 3vw, 40px);
  border-bottom: 1px solid #3b3d42;
  background: #111822;
}
.portfolio-menu {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
}
.portfolio-menu a {
  text-decoration: none;
}
.portfolio-menu a:focus-visible {
  outline: 3px solid #67d5ed;
  outline-offset: 3px;
}
.portfolio-brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  justify-self: start;
  min-height: 44px;
  gap: .2rem;
  color: #f7f3e9;
  white-space: nowrap;
}
.portfolio-wordmark {
  font: 400 clamp(1.7rem, 3.6vw, 2.15rem)/.95 Georgia, serif;
  letter-spacing: -.08em;
}
.portfolio-wordmark span { color: var(--gold); }
.portfolio-brand-caption {
  font-size: .52rem;
  font-weight: 600;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.portfolio-brand img {
  display: block;
  width: clamp(6rem, 14vw, 8.3rem);
  height: auto;
}
.portfolio-menu-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem;
}
.portfolio-menu-links > .collection-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .8rem;
  border: 1px solid #596272;
  border-radius: .45rem;
  color: #f7f3e9;
  font-size: .9rem;
  white-space: nowrap;
}
.portfolio-menu-links > .collection-link:hover { background: #273143; }
.portfolio-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .25rem;
}
.portfolio-dropdown {
  position: relative;
  margin: 0;
}
.portfolio-dropdown summary {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .45rem .8rem;
  border: 1px solid #596272;
  border-radius: .45rem;
  color: #f7f3e9;
  cursor: pointer;
  font-size: .9rem;
  list-style: none;
}
.portfolio-dropdown summary::-webkit-details-marker { display: none; }
.portfolio-dropdown summary::after {
  content: '';
  width: .44rem;
  height: .44rem;
  border: solid var(--gold);
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}
.portfolio-dropdown[open] summary::after { transform: translateY(2px) rotate(225deg); }
.portfolio-dropdown summary:focus-visible { outline: 3px solid #67d5ed; outline-offset: 3px; }
.portfolio-menu-options {
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  display: grid;
  gap: .2rem;
  min-width: max(100%, 10rem);
  width: max-content;
  max-width: calc(100vw - 1.5rem);
  padding: .35rem;
  border: 1px solid #596272;
  border-radius: .5rem;
  background: #111822;
  box-shadow: 0 .5rem 1.5rem #0008;
}
.portfolio-menu-options a,
.portfolio-menu-options button,
.portfolio-account [data-menu-profile] {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .45rem .8rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  background: transparent;
  color: #d7dce4;
  font-size: .88rem;
  white-space: nowrap;
}
.portfolio-menu [hidden] {
  display: none;
}
.portfolio-menu-options [aria-current] {
  border-color: #d9b66c55;
  background: #d9b66c15;
  color: #f3d69a;
}
.portfolio-dropdown summary:hover,
.portfolio-menu-options a:hover,
.portfolio-menu-options button:hover,
.portfolio-account [data-menu-profile]:hover {
  background: #273143;
  color: #fff;
}
.portfolio-auth {
  justify-self: end;
  min-height: 44px;
  min-width: 7rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  border-color: #d9b66c91;
  background: #192331;
  color: #f3d69a;
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
}
.portfolio-auth[data-action="login"] {
  background: #e1c184;
  color: #171c24;
}
.portfolio-auth:hover {
  border-color: #f3d69a;
}

.profile-page {
  width: min(100%, 860px);
  margin-inline: auto;
}
.profile-title,
.profile-photo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.profile-title {
  justify-content: space-between;
}
.profile-card {
  margin-block: 1rem;
  padding: clamp(1rem, 3vw, 1.7rem);
  background: #111822;
  border: 1px solid #394350;
  border-radius: .65rem;
}
.profile-card h2 {
  margin: 0 0 .75rem;
  font: 400 1.55rem/1.15 Georgia, serif;
}
.profile-card form {
  max-width: none;
}
.profile-card form + form {
  margin-top: 1rem;
}
.profile-card label {
  margin-block: .65rem;
}
.profile-card label > :is(input:not([type=checkbox]),select) {
  margin-top: .25rem;
}
.profile-picture {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid #82704f;
  object-fit: cover;
}
.profile-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.15rem;
  margin-bottom: .8rem;
}
.profile-help {
  color: #b9c1cc;
  font-size: .9rem;
}
.profile-verified {
  color: #d1b781;
  font-size: .85rem;
}
.shareable-album {
  position: relative;
}
.shareable-album .album {
  width: 100%;
  height: 100%;
}
:is(.album-share,.album-settings-button) {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d9b66c85;
  border-radius: 50%;
  background: #101822;
  color: #f1d08c;
}
:is(.album-share,.album-settings-button):hover {
  background: #293344;
}
.shareable-album .album-share {
  position: absolute;
  inset-block-start: .75rem;
  inset-inline-end: .75rem;
}
.shareable-album .album-settings-button {
  position: absolute;
  inset-block-start: .75rem;
  inset-inline-end: calc(.75rem + 44px + .4rem);
}
.album-share-dialog {
  width: min(94vw, 420px);
  padding: 1.25rem;
  border: 1px solid #82704f;
  border-radius: .65rem;
  background: #111822;
  color: #f7f3e9;
}
.album-share-dialog::backdrop {
  background: #000b;
}
.album-share-dialog h2 {
  margin-block-start: 0;
}
@media (max-width: 540px) {
  .profile-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .portfolio-menu {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: .55rem;
  }
  .portfolio-menu-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
  .portfolio-menu-options a,
  .portfolio-menu-options button,
  .portfolio-account [data-menu-profile] {
    padding-inline: .55rem;
  }
  .portfolio-account {
    grid-column: 2;
    grid-row: 1;
  }
}
@media (max-width: 410px) {
  .portfolio-menu-links { position: relative; }
  .portfolio-dropdown { position: static; }
  .portfolio-menu-options { left: 0; }
}
.overview-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.55fr) 44px;
  align-items: end;
  gap: .65rem;
  margin-block: 1rem 2rem;
  padding: clamp(.85rem, 2vw, 1.25rem);
  background: #111822;
  border: 1px solid #394350;
  border-radius: .65rem;
}
.overview-filters label { min-width: 0; margin: 0; }
.album-overview-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
}
.album-overview-heading h1 { margin-block: .5rem; }
.gallery-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block-end: .75rem;
  padding: .45rem .85rem;
  border: 1px solid var(--gold);
  border-radius: .4rem;
  background: #192331;
  color: var(--gold);
  text-decoration: none;
}
.gallery-back:hover { background: #262c39; }
.gallery-back:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.gallery-first-signup { margin: 0 0 1.25rem; max-width: 40rem; }
.gallery-first-signup summary {
  width: fit-content;
  min-height: 44px;
  padding: .65rem .9rem;
  border: 1px solid currentColor;
  border-radius: .5rem;
  color: var(--gold);
  cursor: pointer;
  font-weight: 600;
}
.gallery-first-signup summary:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.gallery-login-privacy { margin-top: 1rem; }
.gallery-login-privacy summary { cursor: pointer; }

.album-overview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.album-grid-controls { display: inline-flex; align-items: center; gap: .6rem; }
.phoenix-layout { display: inline-flex; align-items: center; gap: .35rem; }
.phoenix-layout button {
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  background: transparent;
  color: inherit;
}
.phoenix-layout button[aria-pressed="true"] { background: #302530; border-color: var(--gold); color: var(--gold); }
.album-sort { display: inline-flex; gap: .35rem; }
.album-sort button { min-width: 44px; min-height: 44px; padding: .35rem; }
.album-sort button[aria-pressed="true"] { background: #e1c184; color: #171c24; border-color: #e1c184; }
.album-share-dialog form { margin-block-end: .8rem; }
.album-share-dialog [data-share-status]:empty { display: none; }
.album-share-phrase { margin: .8rem 0; }
.album-share-phrase summary { cursor: pointer; color: var(--gold); }
.password-field { margin-block: .8rem; }
.password-field-input { position: relative; }
.password-field label { margin-block: 0; }
.password-field input { min-block-size: 44px; padding-inline-end: 3rem; }
.password-field-copyable input { padding-inline-end: 5.5rem; }
.password-field-actions {
  position: absolute;
  inset-inline-end: 1px;
  inset-block-end: 1px;
  display: flex;
}
.password-field .password-field-actions button {
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--gold);
}
.password-field .password-field-actions button:hover { background: #273141; }
.password-visibility[aria-pressed="false"] .password-visibility-slash { display: none; }
.password-copy-status { margin: .35rem 0 0; color: var(--gold); font-size: .9rem; }
.password-copy-status:empty { margin: 0; }
.password-phrase { display: grid; justify-items: start; gap: .55rem; margin: .8rem 0; }
.password-phrase output {
  display: block;
  width: 100%;
  padding: .65rem .8rem;
  background: #1f1822;
  border: 1px solid #8c7358;
  border-radius: .35rem;
  color: #ffe6be;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
  user-select: text;
}
.password-phrase [hidden], .password-phrase [role=status]:empty { display: none; }
.overview-filters select { margin-top: .25rem; }
.overview-filters .clear-filters {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--gold);
  border-color: var(--gold);
}
.overview-filters .clear-filters:disabled {
  background: transparent;
  opacity: .45;
  cursor: default;
}
.album-grid.album-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block: 1.7rem;
}
.album-overview-grid .album { width: 100%; height: 100%; overflow-wrap: anywhere; }
.album-overview-grid .album h3 { margin-block: .35rem .45rem; }
.album-overview-grid .album-card-date { display: block; margin-bottom: .25rem; color: #e3c6a0; font-size: .88rem; }
[data-overview-album][hidden] { display: none; }
@media (max-width: 950px) {
  .album-grid.album-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 570px) {
  .album-grid.album-overview-grid { grid-template-columns: minmax(0, 1fr); }
}
.overview-filters[hidden], .album-sort[hidden] { display: none; }
@media (min-width: 981px) {
  .overview-filters.with-visibility {
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.55fr) minmax(0, .95fr) 44px;
  }
}
@media (max-width: 980px) {
  .overview-filters { grid-template-columns: repeat(3, minmax(0, 1fr)) 44px; }
  .overview-filters .clear-filters { grid-column: -2; grid-row: 1 / span 2; align-self: end; }
  .overview-filters.with-visibility .clear-filters { grid-row: 1 / span 3; }
}
@media (max-width: 620px) {
  .overview-filters { grid-template-columns: repeat(2, minmax(0, 1fr)) 44px; }
  .overview-filters .clear-filters { grid-row: 1 / span 3; }
  .overview-filters.with-visibility .clear-filters { grid-row: 1 / span 4; }
}
.album-settings-panel {
  width: min(36rem, calc(100% - 2rem));
  max-height: 90dvh;
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid #415267;
  border-radius: .75rem;
  color: #f4f1e9;
  background: #111b27;
}
.album-settings-panel::backdrop { background: rgb(0 0 0 / 72%); }
.album-settings-panel h2 { margin-top: 0; }
.album-settings-fields, .album-settings-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.album-settings-fields > label { flex: 1 1 11rem; min-width: 0; }
.album-settings-panel .settings-result:empty { display: none; }
.album-settings-panel :is(input:not([type=checkbox]),select,textarea) { box-sizing: border-box; width: 100%; }
.album-description { white-space: pre-wrap; }

.visitor-album-info summary {
  width: fit-content;
  cursor: pointer;
  color: var(--gold);
}
.visitor-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(.8rem, 2vw, 1.6rem);
  margin-block: 1.1rem;
}
.visitor-photo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .85rem;
}
.visitor-favorites-filter {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  font-size: .9rem;
}
.visitor-favorites-filter[aria-pressed="true"] {
  color: #171c24;
  background: var(--gold);
  border-color: var(--gold);
}
.visitor-favorites-filter span { font-variant-numeric: tabular-nums; }
.visitor-photo-grid[hidden], .visitor-photo-card[hidden] { display: none; }
@media (min-width: 950px) {
  .visitor-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.album-grid.album-overview-grid[data-phoenix-layout="large"],
.visitor-photo-grid[data-phoenix-layout] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 48rem) {
  .visitor-photo-grid[data-phoenix-layout="contact"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .album-grid.album-overview-grid[data-phoenix-layout="contact"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .album-grid.album-overview-grid[data-phoenix-layout="large"],
  .visitor-photo-grid[data-phoenix-layout="large"] { grid-template-columns: minmax(0, 1fr); }
}
.visitor-photo-open {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  width: 100%;
  height: clamp(16rem, 60svh, 45rem);
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: .5rem;
  background: #0a0e15;
  cursor: zoom-in;
}
.visitor-photo-open img {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.visitor-photo-open img:not([src]),
.visitor-photo-open.preview-unavailable img,
.visitor-photo-unavailable {
  visibility: hidden;
}
.visitor-photo-unavailable { grid-area: 1 / 1; }
.visitor-photo-open.preview-unavailable .visitor-photo-unavailable { visibility: visible; }
.visitor-photo-favorite {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: .3rem 0 0 auto;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: #e8dfd1;
}
.visitor-photo-favorite svg, [data-viewer-favorite] svg { fill: none; }
.visitor-photo-favorite[aria-pressed="true"], .visitor-photo-viewer [data-viewer-favorite][aria-pressed="true"] { color: var(--gold); }
.visitor-photo-favorite[aria-pressed="true"] svg, [data-viewer-favorite][aria-pressed="true"] svg { fill: currentColor; }
.visitor-photo-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: clamp(3px, .7vmin, 9px);
  overflow: hidden;
  border: 0;
  background: #050608;
  color: #fff;
}
.visitor-photo-viewer[open] { display: grid; place-items: center; }
.visitor-photo-viewer::backdrop { background: #050608; }
html:has(.visitor-photo-viewer[open]) { overflow: hidden; }
.visitor-photo-viewer img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}
.visitor-photo-viewer button {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #ffffff78;
  border-radius: 50%;
  background: #090e17bf;
  color: #fff;
}
.visitor-photo-viewer [hidden] { display: none; }
.visitor-photo-viewer [data-viewer-close] {
  top: max(.7rem, env(safe-area-inset-top));
  right: max(.7rem, env(safe-area-inset-right));
}
.visitor-photo-viewer [data-viewer-favorite] {
  top: calc(max(.7rem, env(safe-area-inset-top)) + 54px);
  right: max(.7rem, env(safe-area-inset-right));
}
.visitor-photo-viewer [data-viewer-prev],
.visitor-photo-viewer [data-viewer-next] { top: 50%; transform: translateY(-50%); }
.visitor-photo-viewer [data-viewer-prev] { left: max(.45rem, env(safe-area-inset-left)); }
.visitor-photo-viewer [data-viewer-next] { right: max(.45rem, env(safe-area-inset-right)); }

body[data-gallery] {
  min-height: 100svh;
  background: radial-gradient(ellipse at 18% 0%, var(--gallery-glow), transparent 36rem),
              linear-gradient(180deg, var(--gallery-base), #0c1018 55rem);
}
body[data-gallery="steynen"] {
  --gold: #f1c878;
  --gallery-base: #1b1510;
  --gallery-glow: #e8a43162;
  --gallery-header: #433017;
}
body[data-gallery="clubx"] {
  --gold: #dec1f3;
  --gallery-base: #171324;
  --gallery-glow: #533569a6;
  --gallery-header: #332444;
}
body[data-gallery] .portfolio-header {
  background: linear-gradient(105deg, var(--gallery-header), #151924 74%);
  border-color: color-mix(in srgb, var(--gold) 43%, #201d25);
}
body[data-gallery] .overview-filters {
  background: color-mix(in srgb, var(--gallery-header) 18%, #121a26);
  border-color: color-mix(in srgb, var(--gold) 25%, #242637);
}
body[data-gallery] .portfolio-menu-options [aria-current],
body[data-gallery] .collection-link[aria-current="page"] {
  color: var(--gold);
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
}
body[data-gallery] .portfolio-auth { border-color: var(--gold); color: var(--gold); }
body[data-gallery] .portfolio-auth[data-action="login"],
body[data-gallery] .album-sort button[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--gold);
  color: #1c1620;
}
.featured-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.65rem, 1.7vw, 1.1rem);
  margin: 1.05rem 0 1.55rem;
}
.featured-category {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: end;
  width: 100%;
  min-height: clamp(8.1rem, 13vw, 12rem);
  padding: clamp(.75rem, 2.1vw, 1.3rem);
  border: 1px solid #c4a36b70;
  border-radius: .55rem;
  background: #171414;
  text-align: left;
}
.featured-category img, .featured-category::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}
.featured-category img { object-fit: cover; object-position: 56% center; }
.featured-category::after {
  content: '';
  background: linear-gradient(0deg, #100d0cf0, #100d0c21 79%);
}
.featured-category-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem .55rem;
  color: #fff5e9;
  font: 400 clamp(1.05rem, 2.05vw, 1.75rem)/1.13 Georgia, serif;
}
.featured-category-age {
  padding: .23rem .45rem;
  border: 1px solid #e9c98daa;
  border-radius: 999px;
  color: var(--gold);
  background: #211917;
  font: 650 .78rem/1.2 system-ui, sans-serif;
}
.featured-category[aria-pressed="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}
@media (max-width: 690px) {
  .featured-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.gallery-age-notice {
  width: min(35rem, calc(100% - 2rem));
  margin: 10vh auto auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #415267;
  border-radius: .75rem;
  color: #f4f1e9;
  background: #111b27;
}
.gallery-age-notice::backdrop { background: rgb(0 0 0 / 72%); }
.portal-age {
  min-height: 100svh;
  padding: clamp(1rem, 8vh, 5rem) 0;
  background: radial-gradient(ellipse at 15% 0%, #36281b, transparent 68%),
    radial-gradient(ellipse at 100% 60%, #2d1e30, #101014 68%);
}
.portal-age .gallery-age-notice { background: #19151c; border-color: #6c555a; }
.portal-age-entry {
  display: grid;
  place-items: center;
  background: linear-gradient(rgb(12 7 14 / 7%), rgb(9 6 10 / 24%)),
    #181219 url('/beelden/phoenix-achtergrond.webp') center / cover no-repeat;
}
.portal-age-entry .gallery-age-notice {
  margin: 0;
  background: rgb(25 21 28 / 95%);
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 36%);
}
@media (max-aspect-ratio: 1/1) {
  .portal-age-entry { background-position: center, 30% center; }
}
.portal-age-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 0;
  color: #ebca91;
}
.portal-age-brand span { border: 1px solid #96765f; border-radius: 2rem; padding: .2rem .45rem; }
.gallery-age-notice h1,.gallery-age-notice h2 { margin-top: 0; }
.gallery-age-notice form { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.gallery-age-notice a { color: #f4f1e9; padding: .4rem; text-underline-offset: .2em; }
.gallery-age-notice [role="status"]:empty { display: none; }
.gallery-age-notice [role="status"] { flex-basis: 100%; margin: 0; color: #e8bf73; }

.visitor-photo-viewer img { cursor: zoom-in; }
.visitor-photo-viewer img:fullscreen {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050608;
  cursor: zoom-out;
}

.album-activity {
  max-width: min(860px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
}
.album-activity li { margin-block: 8px; }

.visitor-photo-viewer[data-photo-maximized="true"] { padding: 0; }
.visitor-photo-viewer[data-photo-maximized="true"] img { cursor: zoom-out; }

.album-grid-controls { flex-wrap: wrap; }
.phoenix-layout button[hidden] { display: none; }
:is(.album-grid.album-overview-grid, .visitor-photo-grid)[data-phoenix-layout][id] {
  grid-template-columns: repeat(var(--gallery-columns), minmax(0, 1fr));
}
[data-phoenix-layout="five"] { --gallery-columns: 5; }
[data-phoenix-layout="four"] { --gallery-columns: 4; }
[data-phoenix-layout="contact"] { --gallery-columns: 3; }
[data-phoenix-layout="large"] { --gallery-columns: 2; }
[data-phoenix-layout="single"] { --gallery-columns: 1; }
.gallery-layout-profile { max-width: 38rem; }

body[data-gallery] { --gallery-pad: clamp(.7rem, 1.6vw, 2rem); }
body[data-gallery] :is(#portfolio, #status) { max-width: none; padding-inline: var(--gallery-pad); }
body[data-gallery] .portfolio-header {
  margin: clamp(1rem, 2.6vw, 2.75rem) var(--gallery-pad) .5rem;
  padding: .65rem clamp(.7rem, 1.5vw, 1.3rem);
  border: 1px solid color-mix(in srgb, var(--gold) 34%, #24232c);
  border-radius: .65rem;
  background: color-mix(in srgb, var(--gallery-header) 35%, transparent);
}
body[data-gallery] .portfolio-menu { max-width: none; }
@media (max-width: 560px) {
  body[data-gallery] .portfolio-menu { column-gap: .35rem; }
  body[data-gallery] .portfolio-account { gap: .35rem; }
  body[data-gallery] .portfolio-brand-caption { white-space: normal; }
}

body[data-gallery] .portfolio-header {
  margin-block: clamp(.4rem, 1vw, .9rem) .35rem;
  padding: .35rem clamp(.45rem, .9vw, .85rem);
}
body[data-gallery] .portfolio-header .portfolio-menu {
  grid-template: "leading total account" auto / minmax(0, 1fr) auto minmax(0, 1fr);
  gap: .35rem .65rem;
}
.portfolio-leading {
  grid-area: leading;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .7rem;
  min-width: 0;
}
body[data-gallery] .portfolio-menu .portfolio-account { grid-area: account; justify-self: end; }
.portfolio-account .portfolio-menu-options { left: auto; right: 0; }
#gallery-total {
  grid-area: total;
  justify-self: center;
  margin: 0;
  text-align: center;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
#gallery-controls { min-width: 0; }
#gallery-controls .album-overview-actions,
#gallery-controls .album-grid-controls { gap: .3rem clamp(.55rem, 1vw, .9rem); }
#gallery-controls .gallery-toolbar-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: .35rem .55rem;
  font-size: .87rem;
}
#gallery-controls .gallery-toolbar-back svg { flex: none; }
.gallery-heading-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body[data-gallery] #status:empty { display: none; }
body[data-gallery] .portfolio-header-with-tools ~ #portfolio { margin-block-start: .65rem; }
.visitor-album-heading,
.visitor-album-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .85rem;
}
.visitor-album-heading { justify-content: space-between; }
.visitor-album-caption { min-width: 0; flex: 1 1 min(100%, 30rem); }
.visitor-album-caption h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2.1vw, 1.9rem);
  line-height: 1.23;
  overflow-wrap: anywhere;
}
.visitor-album-caption details { margin: 0; }
.visitor-album-caption details[open] { flex-basis: 100%; }
.visitor-album-caption details p { max-width: 58ch; margin-block: .45rem; }
.visitor-album-heading .visitor-favorites-filter { width: auto; }
@media (max-width: 85rem) {
  body[data-gallery] .portfolio-header .portfolio-menu {
    grid-template: "brand total account" auto "controls controls controls" auto / minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .portfolio-leading { display: contents; }
  .portfolio-leading .portfolio-brand { grid-area: brand; }
  #gallery-controls { grid-area: controls; }
}
@media (max-width: 60rem) {
  #gallery-controls .gallery-toolbar-back span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (max-width: 38rem) {
  body[data-gallery] .portfolio-header .portfolio-menu { column-gap: .4rem; }
  .portfolio-menu .portfolio-auth { min-width: 0; padding-inline: .65rem; }
  .portfolio-leading .portfolio-brand img { width: clamp(4rem, 19vw, 6rem); }
  .portfolio-leading .portfolio-brand-caption { display: none; }
  body[data-gallery] .portfolio-header .portfolio-menu:has([data-menu-auth][data-action="logout"]) {
    grid-template: "brand account" auto "controls controls" auto "total total" auto / minmax(0, 1fr) auto;
  }
}
