* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 Arial,sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h3 { margin-bottom: 8px; }
em { font-weight: 400; }
main { max-width: 1440px; margin: auto; padding: 0 6%; }
.site-header { display: flex; justify-content: space-between; align-items: center; }
.site-header .wordmark { text-decoration: none; }
.wordmark img {
  animation: logo-hues 19s linear infinite;
}

@keyframes logo-hues {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(360deg); }
}
nav form { margin: 0; }
.button { display: inline-flex; gap: 30px; align-items: center; justify-content: center; padding: 15px 25px; text-decoration: none; font-size: 14px; cursor: pointer; }
.small { padding: 10px 20px; }
.text-button { background: none; border: 0; color: inherit; font: inherit; font-size: 14px; cursor: pointer; }
.eyebrow { font-size: 11px; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.gallery-page .filters { display: flex; flex-wrap: wrap; }
.filters a { padding: 6px 17px; border: 1px solid #cdd1c4; border-radius: 30px; text-decoration: none; font-size: 12px; }
.filters .selected { color: white; }
.gallery-page .album-grid { display: grid; }
.gallery-page .album-cover { display: block; position: relative; text-decoration: none; }
.album-grid .eyebrow { margin: 20px 0 8px; }
.album-grid h3 a { text-decoration: none; }
.album-grid article>p:last-child { font-size: 14px; }
.account { max-width: 620px; margin: 70px auto 110px; }
form { display: grid; gap: 10px; }
form input:not([type=submit]):not([type=checkbox]) { width: 100%; border: 1px solid #bac1b1; background: #fffcf6; border-radius: 0; padding: 13px; font: inherit; }
textarea { width: 100%; border-radius: 0; padding: 13px; font: inherit; }
form label { font-size: 13px; margin-top: 8px; }
form .button { margin-top: 15px; }
.checkbox { display: flex; gap: 10px; align-items: center; }
.flash { padding: 12px 20px; margin: 25px 0; }
.studio { padding: 60px 0 100px; }
table { width: 100%; border-collapse: collapse; margin-top: 30px; text-align: left; }
td, th { padding: 18px 8px; border-bottom: 1px solid #2c3910; }
footer { padding: 35px 6%; border-top: 1px solid #d6d9ce; display: flex; gap: 30px; align-items: center; font-size: 12px; }
footer strong { font-size: 22px; }
footer small { margin-left: auto; }
@media (max-width:800px) {
  footer { flex-wrap: wrap; }
  footer small { margin-left: 0; }
}
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin: 40px 0 65px; }
.editor-grid h2, .photo-review h2 { font-size: 36px; }
.upload-panel { padding: 30px; align-self: start; }
.upload-limits { font-size: 13px; }
.review-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.review-grid .review-placeholder { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.review-grid .review-placeholder { display: grid; place-items: center; font-size: 12px; }
.review-grid h3 { font-size: 20px; margin-top: 12px; }
.review-grid input[type=number] { max-width: 90px; }
.photo-review>p { max-width: 700px; }
@media (max-width:800px) {
  .editor-grid { grid-template-columns: 1fr; gap: 35px; }
  .review-grid { grid-template-columns: repeat(2,1fr); }
}
.photo-viewer { padding: 40px 0 70px; }
.viewer-heading { display: flex; justify-content: space-between; gap: 25px; align-items: end; margin-bottom: 25px; }
.viewer-heading .eyebrow { margin: 25px 0 10px; }
.viewer-heading h1 { font-size: clamp(32px,4vw,52px); margin-bottom: 0; }
.photo-count { font-size: 14px; white-space: nowrap; }
.viewer-stage { background: #222923; min-height: 300px; display: flex; justify-content: center; align-items: center; }
.member-image { display: block; width: 100%; height: auto; max-height: 80vh; object-fit: contain; }
.viewer-placeholder { padding: 70px 25px; text-align: center; color: #f6f3ec; }
.viewer-controls { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 22px; }
.viewer-controls>div:last-child { text-align: right; }
.viewer-actions { display: grid; gap: 8px; text-align: center; }
.keyboard-hint { font-size: 11px; }
.disabled-nav { font-size: 10px; }
@media (max-width:600px) {
  .viewer-controls { grid-template-columns: 1fr 1fr; }
  .viewer-actions { grid-row: 2; grid-column: 1/-1; }
  .viewer-stage { min-height: 180px; }
  .keyboard-hint { display: none; }
  .photo-viewer { padding-top: 25px; }
}
.gallery-search>div { display: flex; gap: 10px; }
.gallery-search .button { margin: 0; }
.tag-filters { margin-top: -15px; }
.tag-filters a { border-style: dashed; }
.result-summary { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; margin-bottom: 25px; }
.result-summary p { margin: 0; }
.pagination { display: flex; justify-content: center; gap: 25px; margin-top: 45px; font-size: 14px; }
.member-video { display: block; width: 100%; max-height: 80vh; background: #202820; margin: 25px 0; }
.video-editor { border-top: 1px solid #cdd1c4; margin-top: 60px; padding-top: 40px; }
.video-editor h2 { font-size: 36px; }
.video-form { max-width: 600px; }
.video-form select { padding: 12px; font: inherit; max-width: 100%; }
.studio-video { padding-top: 35px; margin-top: 35px; border-top: 1px solid #cdd1c4; }
.album-videos { margin-bottom: 80px; }
.video-card { position: relative; display: block; background: #303e32; }
.video-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.video-card span { position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 48px; text-shadow: 0 1px 12px #000; }
.album-videos h3 { margin-top: 18px; }
.poster-review { display: flex; align-items: center; gap: 25px; margin: 20px 0; }
.poster-review figure { margin: 0; flex: 0 0 260px; }
.video-poster-preview { display: block; width: 260px; max-width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #202820; }
.poster-review figcaption { font-size: 12px; margin-top: 8px; }
.poster-review>p { max-width: 400px; font-size: 14px; }
@media (max-width:600px) {
  .poster-review { display: block; }
  .poster-review figure { margin-bottom: 15px; }
}
.membership-status { padding: 25px; margin: 25px 0; }
.table-scroll { overflow-x: auto; }
.table-scroll td, .table-scroll th { white-space: nowrap; }
@media (max-width:600px) {
  .site-header { flex-wrap: wrap; gap: 15px; }
}
.membership-plans { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 35px 0; }
.membership-plan { border: 1px solid #bac1b1; padding: 25px; }
.membership-plan h2 { font-size: 30px; margin: 0 0 15px; }
.membership-plan .plan-price { font-size: 32px; margin: 0; }
.plan-price span { font-size: 14px; }
.membership-plan button:disabled { opacity: .65; cursor: default; }
@media (max-width:600px) {
  .membership-plans { grid-template-columns: 1fr; }
}

/* Gallery follows the established Zishy photo-first index. */
.site-header { background: #111; color: #fff; border: 0; padding: 0 20px; position: sticky; top: 0; z-index: 20; }
.minimal-nav { width: 100%; max-width: 800px; margin: auto; height: 70px; display: flex; align-items: center; justify-content: space-between; }
.site-header .wordmark { font: italic 900 32px/1 Arial,sans-serif; -webkit-background-clip: text; }
.icon-link { display: block; width: 32px; height: 32px; color: white; cursor: pointer; }
.icon-link svg { width: 100%; height: 100%; fill: currentColor; }
.gallery-page { background: #000; color: #eee; line-height: 1.25; }
.gallery-page main { max-width: none; padding: 0 12px; }
.gallery-index { padding: 12px 0 20px; }
.gallery-definition { font: 16px/1.35 Arial,sans-serif; letter-spacing: 0; text-align: center; margin: 0 0 14px; }
.gallery-definition em { color: inherit; font-weight: 400; }
.gallery-tools { margin-bottom: 20px; }
.gallery-tools[hidden] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gallery-tools:focus-within { position: static; width: auto; height: auto; clip-path: none; }
.gallery-tools summary { cursor: pointer; }
.gallery-page .gallery-search { max-width: 600px; margin: 20px auto; }
.gallery-page .filters { gap: 8px; margin: 15px 0; }
.gallery-page .filters a { border-color: #444; border-radius: 0; color: #ddd; }
.gallery-page .filters .selected { background: #333; color: #fff; }
.gallery-page .album-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px 16px; }
.gallery-page .album-cover { aspect-ratio: 2/3; background: #151515; overflow: hidden; }
.gallery-page .album-cover--xtra { background: #000; }
.gallery-page.xtra-page .album-cover--xtra { aspect-ratio: 1; }
.gallery-page .cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gallery-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; font-size: 20px; color: #777; }
.gallery-placeholder small { font: 11px Arial,sans-serif; }
.gallery-page .album-grid h3 { font: bold 12px/1.15 Arial,sans-serif; letter-spacing: 0; margin: 3px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery-page .album-grid h3 a { text-decoration: none; }
.gallery-page .album-grid .gallery-meta { font: 11px/1.25 Arial,sans-serif; color: #ccc; margin: 1px 0 0; }
.gallery-page .album-cover:hover { opacity: .9; }
.gallery-page .result-summary { color: #ccc; margin: 20px 0; }
.gallery-page .pagination { font-size: 13px; color: #aaa; margin-top: 35px; min-height: 24px; }
.gallery-load-status { font-size: 13px; color: #aaa; text-align: center; min-height: 20px; }
.gallery-page footer { border: 0; justify-content: center; color: #777; padding: 25px 20px; font: 11px Arial,sans-serif; }
.gallery-page footer strong, .gallery-page footer>span { display: none; }
.gallery-page footer small { margin: 0; }
.gallery-page .flash { background: #b4dd65; color: #2c3910; }
@media (max-width:760px) {
  .minimal-nav { height: 60px; max-width: 550px; }
  .gallery-definition { font-size: 14px; }
  .gallery-page .album-grid { gap: 18px 12px; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gallery-page main { padding: 0 10px; }
}
@media (max-width:520px) {
  .gallery-page .album-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 8px; }
  .gallery-definition { font-size: 13px; letter-spacing: 0; }
  .minimal-nav { height: 56px; }
  .icon-link { width: 26px; height: 26px; }
  .site-header .wordmark { font-size: 28px; }
  .gallery-page .album-grid .gallery-meta { font-size: 11px; }
}
@media (max-width:1000px) {
  .site-header { position: fixed; top: auto; bottom: 0; left: 0; right: 0; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #222; }
  .minimal-nav { height: 60px; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .gallery-index { padding-top: 12px; }
}
@media (min-width:1400px) and (orientation:landscape) {
  .gallery-page main { max-width: none; }
  .gallery-page .album-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
}
@media (min-width:1900px) and (orientation:landscape) {
  .gallery-page main { max-width: none; }
  .gallery-page .album-grid { grid-template-columns: repeat(8,minmax(0,1fr)); }
}
.navigation-toggle { border: 0; padding: 0; background: none; }
.navigation-popup { background: linear-gradient(#000,#111); color: #eee; border: 1px solid #444; width: min(640px,calc(100% - 32px)); max-height: calc(100dvh - 150px); padding: 26px; box-shadow: 0 15px 80px #0008; position: fixed; top: 100px; bottom: auto; margin: 0 auto;}
.navigation-popup::backdrop { background: #000b; }
.navigation-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.navigation-heading h2 { font: 16px Arial,sans-serif; letter-spacing: 0; margin: 0; color: #aaa; }
.navigation-close { border: 0; background: none; color: #ddd; font: 32px/1 Arial,sans-serif; cursor: pointer; padding: 0 4px; }
.navigation-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.navigation-links a { padding: 19px 0; border-bottom: 1px solid #333; text-decoration: none; font: 16px/1.3 Arial,sans-serif; }
.navigation-links a:hover { color: #b4dd65; }
.navigation-open { overflow: hidden; }
@media (max-width:520px) {
  .navigation-popup { padding: 20px; top: auto; bottom: 100px; margin: auto}
  .navigation-links { gap: 0 16px; }
  .navigation-links a { font-size: 14px; padding: 17px 0; }
}
.album-page { olor: #eee; font: 14px/1.45 Arial,sans-serif; }
.album-page main { max-width: 1040px; padding: 0 20px; }
.album-detail { padding: 20px 0 35px; }
.album-heading { text-align: center; margin-bottom: 12px; }
.album-heading h1 { font: bold 28px/1.15 Arial,sans-serif; letter-spacing: 0; margin: 0 0 3px; }
.album-heading p { font-size: 16px; margin: 0; color: #bbb; }
.album-opening { display: block; max-width: 950px; margin: 0 auto 16px; }
.album-opening img { display: block; width: auto; height: auto; max-width: 100%; max-height: 1024px; margin: 0 auto; position: static; object-fit: contain; }
.album-description { max-width: 950px; margin: 20px 30px; font-size: 16px; }
.album-description p { margin-bottom: 12px; }
.album-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 20px; margin: 20px 0; font-size: 12px; }
.album-actions a { text-decoration: none; }
.album-actions a:hover { text-decoration: underline; }
.album-actions span { color: #aaa; }
.album-thumbnails { --thumb-size: 210px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; margin: 0 auto 35px; max-width: 950px; }
.album-thumbnail { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; max-width: 100%; text-decoration: none; }
.album-thumbnail img { display: block; position: static; width: auto; height: auto; max-width: var(--thumb-size); max-height: var(--thumb-size); object-fit: contain; }
.album-thumbnail:hover { opacity: .85; }
.album-photo-placeholder { width: 140px; height: 210px; display: grid; place-items: center; background: #151515; color: #777; font-size: 12px; }
.album-page .album-videos { max-width: 950px; margin: 35px auto; }
.album-page .album-videos h2, .album-page .album-videos h3 { font: 16px/1.3 Arial,sans-serif; letter-spacing: 0; text-align: center; }
.album-page .album-videos h2 { text-transform: uppercase; }
.album-page .album-videos h3 { margin-top: 10px; }
.album-page .album-videos p { text-align: center; font-size: 12px; }
.album-page footer { border: 0; justify-content: center; color: #777; padding: 25px 20px; font: 11px Arial,sans-serif; }
.album-page footer strong, .album-page footer>span { display: none; }
.album-page footer small { margin: 0; }
.album-page .flash { background: #b4dd65; color: #2c3910; }
@media (max-width:600px) {
  .album-page main { padding: 0 10px; }
  .album-detail { padding-top: 15px; }
  .album-description { font-size: 13px; }
  .album-thumbnails { --thumb-size: 150px; gap: 12px; }
  .album-photo-placeholder { width: 100px; height: 150px; }
  .album-actions { gap: 10px 14px; }
}
.album-favorite-control { display: flex; justify-content: center; margin: 12px 0 0px; }
.favorite-button { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 8px; color: #ccc; font: 12px Arial,sans-serif; cursor: pointer; }
.favorite-button>span:first-child { font-size: 32px; line-height: 1; }
.favorite-button[aria-pressed=true]>span:first-child { color: #ec7aa3; }
.favorite-signin { font-size: 12px; text-decoration: none; }
.album-favorite-control { flex-wrap: wrap; }
.favorite-status { flex-basis: 100%; text-align: center; font: 11px Arial,sans-serif; color: #ccc; margin: 5px 0 0; min-height: 13px; }
.favorite-button:disabled { opacity: .6; cursor: wait; }
.album-rating { text-align: center; max-width: 950px; margin: 7px auto 10px auto; font-size: 22px; font-weight:bold}
.album-rating p { margin: 0px 0; }
.album-rating p>span { font-size: 16px; color: #999; font-weight: normal}
.star-rating fieldset { border: 0; padding: 0; margin: 0; }
.star-rating legend { font-size: 12px; color: #aaa; width: 100%; }
.star-rating button {margin-left:-4px; padding: 3px 0; border: 0; background: none; font-size: 28px; cursor: pointer; }
.album-comments { max-width: 950px; margin: 30px auto; font-size: 16px; }
.album-comments>header { display: flex; align-items: center; }
.album-comments h2 { font: bold 14px Arial,sans-serif; letter-spacing: 0; text-transform: uppercase; }
.album-comments button { margin: 0 auto; color: #ddd; background: #222; border: 1px solid #444; padding: 6px 10px; font: 12px Arial,sans-serif; cursor: pointer; }
.album-comments>header button { border: 0; background: none; color: #94c949; padding: 0; }
.album-comment { padding: 8px; margin-top: 2px; background: #151515; }
.album-comment:nth-child(even) { background: #202020; }
.album-comment p { margin: 0; overflow-wrap: anywhere; }
.album-comment strong { color: #b8cae3; }
.comment-body { white-space: pre-wrap; }
.album-comment time { font-size: 11px; color: #999; }
.comment-pages { display: flex; gap: 20px; font-size: 12px; margin: 12px 0; }
.new-comment { margin: 15px auto; }
.new-comment summary { cursor: pointer; padding: 10px 0; text-decoration: underline; font-size: 16px; color: #ccc; font-weight: bold; }
.new-comment textarea { background: #181818; color: #eee; border-color: #444; }
.new-comment small, .feedback-status { font-size: 11px; color: #aaa; }
.feedback-status { min-height: 14px; margin: 8px 0; }
.comment-empty { color: #aaa; font-size: 12px; margin-top: 15px; }
.site-header .wordmark { background: none; color: inherit; line-height: 0; letter-spacing: 0; }
.site-logo { display: block; width: 96px; height: auto; max-height: 48px; object-fit: contain; }
@media (max-width:520px) {
  .site-logo { width: 80px; max-height: 40px; }
}
.album-zip-download, .album-comments-link, .album-edit-link { display: inline-block; margin: 8px 12px; font: 13px Arial, sans-serif; color: #ccc; }
.album-lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; box-sizing: border-box; margin: 0; padding: 0; border: 0; background: #080808; color: #eee; font-family: Arial, sans-serif; }
.album-lightbox::backdrop { background: #000; }
.album-lightbox .lightbox-toolbar { align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.lightbox-toolbar button, .lightbox-stage button { background: none; border: 0; color: #fff; cursor: pointer; }
.lightbox-toolbar button { font: inherit; padding: 10px 0; }
.lightbox-toolbar a { color: #eee; }
.album-lightbox .lightbox-stage { align-items: center; box-sizing: border-box; }
.album-lightbox .lightbox-image-wrap { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; position: relative; }
.lightbox-image-wrap img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox-image-wrap img[hidden] { display: none; }
.lightbox-image-wrap p { position: absolute; text-align: center; font-size: 13px; }
.lightbox-stage button { flex: 0 0 48px; height: 100%; font: 48px Arial, sans-serif; }
.lightbox-stage button:disabled { opacity: .2; cursor: default; }
@media (max-width: 600px) {
  .lightbox-stage button { flex-basis: 28px; font-size: 36px; padding: 0; }
  .album-lightbox .lightbox-toolbar { font-size: 12px; gap: 8px; }
}
.album-recommendations { width: min(950px, calc(100vw - 24px)); margin: 40px 0 20px 50%; transform: translateX(-50%); }
.album-recommendations h2 { font: bold 14px/1.3 Arial, sans-serif; letter-spacing: 0; text-transform: uppercase; text-align: center; margin: 0 0 14px; }
.recommendation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.recommendation-cover { display: block; aspect-ratio: 2 / 3; background: #111; }
.recommendation-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.recommendation-cover:hover { opacity: .85; }
.recommendation-cover:nth-child(n+5) { display: none; }
@media (max-width: 520px) {
  .recommendation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (min-width: 1400px) and (orientation: landscape) {
  .album-recommendations { width: min(1800px, calc(100vw - 24px)); }
  .recommendation-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .recommendation-cover:nth-child(-n+6) { display: block; }
}
@media (min-width: 1900px) and (orientation: landscape) {
  .recommendation-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .recommendation-cover:nth-child(-n+8) { display: block; }
}
.album-favorite-control { align-items: center; }
.album-comments { scroll-margin-top: 90px; }
@media (max-width: 1000px) {
  .album-comments { scroll-margin-top: 16px; }
}

/* Let the whole navigation control receive input, including gaps in its artwork. */
.site-header .icon-link { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; padding: 8px; cursor: pointer; touch-action: manipulation; }
.site-header .icon-link svg { width: 32px; height: 32px; flex-shrink: 0; }
.site-header .icon-link *, .site-header .wordmark * { pointer-events: none; }
.site-header .wordmark { display: flex; align-items: center; padding: 8px; cursor: pointer; touch-action: manipulation; }
.site-header .icon-link:focus-visible, .site-header .wordmark:focus-visible { outline: 2px solid #ddd; outline-offset: 2px; }
@media (max-width: 520px) {
  .site-header .icon-link svg { width: 26px; height: 26px; }
}
.album-favorite-control { gap: 0 18px; }
.album-favorite-control .album-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; padding: 10px; margin: 0; border: 0; background: none; cursor: pointer; text-decoration: none; touch-action: manipulation; }
.album-icon-button img { display: block; width: 44px; height: 44px; object-fit: contain; pointer-events: none; }
.album-icon-button:focus-visible { outline: 2px solid #ddd; outline-offset: 2px; }
@media (max-width:520px) {
  .album-favorite-control { gap: 0 8px; }
  .album-favorite-control .album-icon-button { width: 56px; height: 56px; padding: 8px; }
  .album-icon-button img { width: 40px; height: 40px; }
}
.album-icon-button img { filter: brightness(30%) invert(1) saturate(0%); }
.album-icon-button:hover img { filter: hue-rotate(90deg) brightness(160%) invert(0) saturate(120%); }
.favorite-button[aria-pressed="true"] img { filter: none; }
.star-rating button, .album-rating > p { color: #fff; }
.album-comments-link img { filter: url(#album-comments-white); }
.album-heading h1 { font-size: 40px; }
@media (max-width:600px) {
  .album-heading h1 { font-size: 30px; }
}
.album-performers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; max-width: 100%; }
.album-performers a { display: inline-block; padding: 9px 14px; background: #333; color: #eee; font: bold 22px/1.2 Arial,sans-serif; text-decoration: none; overflow-wrap: anywhere; }
.album-performers a:hover { text-decoration: none; color: #94c949; }
.performer-directory .album-grid h3 a, .album-performers a, .performer-gallery .performer-heading h1 { text-transform: capitalize; }
@media (max-width:600px) {
  .album-performers a { font-size: 18px; padding: 8px 12px; }
}
.performer-directory h2 { font-size: 20px; margin: 24px 0 12px; }
.performer-selector { margin: 20px 0; }
.performer-choices { max-height: 240px; overflow: auto; margin: 12px 0; }
.performer-choices label { display: block; padding: 6px; }
.performer-choices label[hidden] { display: none; }
.performer-choices input, .performer-photo-picker input { width: auto; }
.performer-photo-picker { display: grid; grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); gap: 16px; margin: 20px 0; }
.performer-photo-picker img { display: block; width: 100%; height: 210px; object-fit: contain; }
.performer-photo-picker label { font-size: 12px; overflow-wrap: anywhere; }
.performer-current-cover { max-width: 160px; max-height: 240px; object-fit: contain; }
.performer-editor form { margin-bottom: 24px; }
.profile-details { margin: 15px 0; overflow-wrap: normal; }
.profile-details dt { float: left; clear: left; width: 150px; font-weight: bold; text-align: right; padding-right: 14px; }
.profile-details dt::after { content: ":"; }
.profile-details dd { margin: 0 0 0 150px; padding: 0 0 0.5em 0; }
.profile-hint { font-size: 13px; opacity: .75; }
.profile-page h2 { margin-top: 36px; }
.profile-page p { text-align: center; margin-top: 20px; }
.setting-switch-row { display: flex; align-items: center; gap: 12px; margin: 22px 0 12px; cursor: pointer; }
.setting-switch { position: relative; display: inline-block; width: 60px; height: 34px; flex: 0 0 60px; }
.setting-switch input[type="checkbox"] { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; inset: 0; cursor: pointer; z-index: 1; }
.setting-switch-track { position: absolute; inset: 0; background: #767676; border-radius: 34px; transition: background .2s; pointer-events: none; }
.setting-switch-track::before { content: ""; position: absolute; height: 26px; width: 26px; left: 4px; bottom: 4px; background: white; border-radius: 50%; transition: transform .2s; }
.setting-switch input:checked + .setting-switch-track { background: #b4dd65; }
.setting-switch input:checked + .setting-switch-track::before { transform: translateX(26px); }
.setting-switch input:focus-visible + .setting-switch-track { outline: 3px solid #1265aa; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .setting-switch-track, .setting-switch-track::before { transition: none; }
}

/* Shared dark theme for account, membership, and Studio pages as well as galleries. */
:root { color-scheme: dark; --page-bg: #000; --surface: #151515; --field-bg: #181818; --text: #eee; --muted: #aaa; --border: #444; }
body { background: var(--page-bg); color: var(--text); font-family: Arial, sans-serif; background-attachment: fixed;}
body.xtra-page { min-height: 100vh; background: linear-gradient(#000, #400); background-attachment: fixed}
h1, h2, h3 { font-family: Arial, sans-serif; letter-spacing: 0; }
h1 { font-size: clamp(30px, 4vw, 40px); font-weight: bold; line-height: 1.15; }
h2 { font-size: 24px; font-weight: bold; line-height: 1.25; }
h3 { font-size: 18px; font-weight: bold; }
.account h1 { font-size: 40px; }
em { color: inherit; }
.button, .gallery-page .button { background: #303030; color: #fff; border: 1px solid #555; }
.button:hover, .gallery-page .button:hover { background: #444; }
.button:disabled { opacity: .6; cursor: default; }
form input:not([type=submit]):not([type=checkbox]):not([type=radio]), textarea, select, .video-form select { background: var(--field-bg); color: var(--text); border: 1px solid var(--border); }
select { max-width: 100%; padding: 12px; font: inherit; }
input::placeholder, textarea::placeholder { color: #999; opacity: 1; }
input[type=checkbox], input[type=radio] { accent-color: #b4dd65; }
.flash { background: #b4dd65; color: #2c3910; border: 1px solid var(--border); }
[role=alert] { color: #c3ec6a; }
.upload-panel, .membership-status { background: var(--surface); }
.membership-plan { background: #101010; border-color: var(--border); }
td, th { border-color: #333; }
th { color: #ccc; }
.video-editor, .studio-video { border-color: #333; }
.review-grid .review-image, .review-grid .review-placeholder { background: #181818; }
.photo-count, .keyboard-hint, .disabled-nav, .result-summary, .poster-review figcaption, .album-grid article>p:last-child { color: var(--muted); }
.filters a { border-color: var(--border); }
.filters .selected { background: #333; border-color: #555; }
footer { border-color: #222; color: #888; }
footer strong { color: #ccc; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #ddd; outline-offset: 3px; }
.setting-switch input:focus-visible { outline: none; }
.setting-switch input:focus-visible + .setting-switch-track { outline-color: #8acbff; }
@media (max-width:600px) {
  .account h1 { font-size: 32px; }
}
.settings-status { color: #aaa; font-size: 13px; min-height: 22px; }
.setting-switch input:disabled { cursor: wait; }
.setting-switch input:disabled + .setting-switch-track { opacity: .65; }
.sample-photo { margin-bottom: 28px; }
.sample-membership { text-align: center; margin: 30px auto; font-size: 15px; }
.sample-membership p { margin-bottom: 8px; }
.sample-membership a { font-weight: bold; text-transform: uppercase; }
.photo-position-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; align-items: stretch; }
.photo-position-fields label { display: block; }
.photo-position-fields input { min-width: 0; }
.review-grid .photo-position-fields input[type=number] { max-width: none; }

/* Viewer gestures. Pinch zoom transforms the photo without enlarging controls. */
.album-lightbox .lightbox-stage { overscroll-behavior: contain; }
.album-lightbox.viewer-zoomed .lightbox-stage { touch-action: auto; }
.album-lightbox .lightbox-stage { overflow: hidden; }
.lightbox-image-wrap img { user-select: none; -webkit-user-drag: none; }
.lightbox-image-wrap img.viewer-image-dragging { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .lightbox-image-wrap img { transition: none !important; }
}

/* Controls overlay the image instead of reserving black gutters. */
.album-lightbox .lightbox-toolbar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; pointer-events: none; }
.album-lightbox .lightbox-toolbar button, .album-lightbox .lightbox-toolbar a { pointer-events: auto; }
.album-lightbox .lightbox-stage { position: absolute; inset: 0; height: 100%; padding: 0; display: block; }
.album-lightbox .lightbox-image-wrap { width: 100%; height: 100%; }
.album-lightbox .lightbox-image-wrap img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: scale-down; }
.album-lightbox .lightbox-stage > button { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 100px; padding: 0; background: #0002; text-shadow: 0 1px 5px #000; }
.album-lightbox .lightbox-stage > button:first-child { left: 0; }
.album-lightbox .lightbox-stage > button:last-child { right: 0; }
@media (pointer: coarse) {
  .album-lightbox .lightbox-stage > button { width: 32px; height: 80px; font-size: 36px; background: none; }
}

/* Show incoming JPEG data immediately over a neutral loading placeholder. */
.album-lightbox .lightbox-image-wrap.viewer-image-loading { background: linear-gradient(#777, #777) center / var(--viewer-placeholder-width, 0px) var(--viewer-placeholder-height, 0px) no-repeat; }
.lightbox-image-wrap.viewer-image-loading > p { z-index: 1; color: #fff; text-shadow: 0 1px 3px #000; pointer-events: none; }
.lightbox-image-wrap.viewer-image-loading > p::before { content: ""; display: block; width: 32px; height: 32px; margin: 0 auto; border: 3px solid #ffffff66; border-top-color: #fff; border-radius: 50%; animation: viewer-loading-spin .8s linear infinite; }
@keyframes viewer-loading-spin {
  to { transform: rotate(360deg); }
}
.album-lightbox .lightbox-image-wrap img { cursor: zoom-in; }
.album-lightbox.viewer-native-size .lightbox-image-wrap img { cursor: default; }
.album-lightbox.viewer-click-zoomed .lightbox-image-wrap img { cursor: grab; }
@media (prefers-reduced-motion: reduce) {
  .lightbox-image-wrap.viewer-image-loading > p::before { animation-duration: 2s; }
}

/* Original Zishy PhotoSwipe SVG paths, dimensions, and translucent controls. */
.album-lightbox .lightbox-toolbar { display: block; height: 60px; min-height: 0; padding: 0; background: none; text-shadow: none; }
.album-lightbox [data-lightbox-counter] { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 10px); left: 20px; height: 5vh; height: 5dvh; margin: 0; font: min(48px, 5vh)/1 trebuchet, Calibri, "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: min(48px, 5vh); color: #fff; opacity: .4; text-shadow: 1px 1px 3px #4f4f4f; pointer-events: none; user-select: none; }
.album-lightbox .viewer-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 8px); right: 8px; width: min(60px, 5vh); height: min(60px, 5vh); width: min(60px, 5dvh); height: min(60px, 5dvh); margin: 0; padding: 0; border: 0; background: none; opacity: .85; overflow: hidden; cursor: pointer; }
.viewer-control-icon { display: block; position: static; width: 100%; height: 100%; fill: #fff; opacity: .4; pointer-events: none; }
.viewer-control-icon .viewer-control-shadow { fill: none; stroke: #4f4f4f; stroke-width: 2px; }
.album-lightbox .lightbox-stage > button.viewer-arrow { position: absolute; top: 50%; width: min(60px, 10vh); height: min(60px, 10vh); width: min(60px, 10dvh); height: min(60px, 10dvh); margin: 0; padding: 0; transform: translateY(-50%); background: none; border: 0; box-shadow: none; opacity: 1; overflow: hidden; cursor: pointer; }
.album-lightbox .lightbox-stage > button.viewer-arrow--previous { left: 8px; right: auto; }
.album-lightbox .lightbox-stage > button.viewer-arrow--next { right: 8px; left: auto; }
.viewer-arrow .viewer-control-icon { width: 100%; height: 100%; }
.viewer-arrow--next .viewer-control-icon { transform: scale(-1, 1); }
.album-lightbox .lightbox-stage > button.viewer-arrow:disabled { display: none; }
.album-lightbox .viewer-close:hover, .album-lightbox .viewer-close:active, .album-lightbox .viewer-close:focus { opacity: 1; background: none; }
.album-lightbox .viewer-close:focus, .album-lightbox .viewer-close:focus-visible { outline: none; box-shadow: none; }
.album-lightbox .viewer-arrow:focus-visible { outline: 2px solid #ddd; outline-offset: -4px; }
.album-page [data-album-viewer-index]:focus, .album-page [data-album-viewer-index]:focus-visible { outline: none; box-shadow: none; }

/* Keep the gripping cursor during magnified dragging, including pointer capture. */
.album-lightbox.viewer-click-zoomed .lightbox-stage:active, .album-lightbox.viewer-click-zoomed .lightbox-stage:active .lightbox-image-wrap img { cursor: grabbing; }

/* Letter colors and compact bars from the original Zishy directory. */
.performer-directory .performer-letter { width: 45%; margin: 0 auto; padding: 8px;  color: #fff; font: 20px/14px trebuchet, Calibri, "Helvetica Neue", Arial, Helvetica, sans-serif; letter-spacing: 0; }
.performer-directory .performer-letter:not(:first-of-type){border-top:1px solid #555; margin-top:20px}
.gallery-year-filter { display: flex; align-items: center; justify-content: center; gap: 16px 36px; margin: 16px 0; }
.gallery-year-filter label { margin: 0; font-size: 13px; }
.gallery-year-filter select { min-width: 110px; padding: 7px 10px; font-size: 13px; }
.gallery-year-filter { flex-wrap: wrap; }
.gallery-year-filter .gallery-video-filter { display: inline-flex; align-items: center; gap: 7px; margin-left: 0; cursor: pointer; white-space: nowrap; }
.gallery-video-filter input { margin: 0; width: auto; accent-color: #b4dd65; }
.gallery-sort-direction { padding: 7px 10px; margin: 0; background: transparent; color: #fff; border: 0; cursor: pointer; font-size: 17px; line-height: 1.2; }
.gallery-tools .filters[hidden] { display: none; }
.gallery-filter-group { display: inline-flex; align-items: center; gap: 10px; }
#gallery-search { scroll-margin-top: 90px; }
.about-page { display:block; width: 100%; height:auto; max-width: 950px; margin: 32px auto 60px; font: 16px/1.6 Arial, sans-serif; color: var(--text); }
.about-page h1 { text-align: center; font-size: 40px; margin-bottom: 32px; }
.about-page section { margin-bottom: 28px; }
.about-page > img + section { margin-top: 1.6em; }
.about-page h2 { font-size: 19px; margin-bottom: 10px; line-height: 1.35; color: #fff; }
.about-page p { margin: 5px 40px 10px 35px; font-size: 15px; color: #ddd; }
@media (max-width: 600px) {
  .about-page { margin-top: 24px; font-size: 15px; }
}
.video-sample { max-width: 950px; margin: auto; }
.video-sample .video-card { background: #151515; }
.video-sample .video-card img { aspect-ratio: auto; max-height: 80vh; object-fit: contain; }
.complaints-page { max-width: 950px; margin: 30px auto 50px; font: 16px/1.6 Arial, sans-serif; }
.complaints-page h1 { text-align: center; font-size: 25px; margin-bottom: 24px; }
.complaints-image { display: block; width: 100%; height: auto; margin-bottom: 24px; }
.complaints-page li { margin-bottom: 18px; }
body footer.site-footer { display: block; max-width: 950px; margin: 30px auto 0; padding: 15px 0 30px; border-top: 1px solid #555; color: #999; font: 12px/1.5 Arial, sans-serif; }
.footer-details { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; }
.footer-copyright { color: #666; }
.site-footer a { text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-social { display: flex; justify-content: center; gap: 40px; margin-top: 18px; }
.footer-social img { display: block; width: 40px; height: 40px; }
@media (max-width:1000px) {
  body footer.site-footer { margin-left: 20px; margin-right: 20px; }
}
@media (max-width:600px) {
  .footer-details { justify-content: center; text-align: center; }
}
.studio-dashboard { max-width: 750px; margin-inline: auto; }
.studio-dashboard .studio-user-search form { max-width: none; }
.studio-statistics { display: flex; flex-wrap: wrap; gap: 24px; margin: 24px 0 36px; }
.studio-statistics > div { padding: 20px 24px; border: 1px solid #333; min-width: 220px; }
.studio-statistics strong { display: block; font-size: 32px; }
.studio-statistics span { color: #aaa; font-size: 14px; }
.studio-user-search { margin-bottom: 36px; }
.studio-user-search form { max-width: 650px; }
.studio-search-input { display: flex; align-items: start; gap: 12px; }
.studio-search-input input[type=search] { flex: 1; min-width: 0; }
.studio-search-input .button { margin: 0; }
.studio-shortcuts { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-bottom: 40px; }
.studio-user-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin: 24px 0 50px; }
.studio-user-columns section { min-width: 0; }
.studio-user-columns dd { overflow-wrap: anywhere; }
.form-hint { font-size: 12px; color: #aaa; }
@media (max-width:750px) {
  .studio-user-columns { grid-template-columns: 1fr; gap: 30px; }
}
.expiration-shortcuts { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.expiration-shortcuts .button { margin: 0; }
.studio-balance-fields { display: flex; align-items: flex-start; gap: 16px; }
.studio-balance-current { flex: 1; min-width: 300px; }
.studio-balance-add { flex: 0 0 auto; }
.studio-balance-add-controls { display: flex; align-items: center; gap: 10px; }
.studio-balance-add-controls select { width: 90px; }
.studio-balance-add-controls input[type=submit] { width: auto; }
.studio-balance-fields > div { display: flex; flex-direction: column; gap: 10px; }
.studio-balance-fields label { margin: 0; }
.xtra-purchase-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.xtra-purchase-row form { display: inline-flex; margin: 0; }
.xtra-purchase-row .text-button { margin: 0; padding: 0; text-decoration: underline; }
.xtra-purchase-row .text-button:hover { color: #94c949; }
:is(.delete-confirmation, .purchase-confirmation) { width: min(520px, calc(100% - 32px)); padding: 28px; background: #161616; color: #fff; border: 1px solid #555; }
:is(.delete-confirmation, .purchase-confirmation)::backdrop { background: #000b; }
:is(.delete-confirmation, .purchase-confirmation) h2 { font: bold 24px Arial, sans-serif; letter-spacing: normal; }
.delete-confirmation-actions, .purchase-confirmation-actions { display: flex; justify-content: flex-end; gap: 12px; }
:is(.delete-confirmation-actions, .purchase-confirmation-actions) .button { width: auto; margin: 0; }
.purchase-confirmation { text-align: center; }
.purchase-confirmation-actions { justify-content: center; }
.studio-balance-fields input, .studio-balance-fields select { height: 50px; margin: 0; }
.xtra-preview-images { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; margin: 24px auto; }
.xtra-preview-headline { width: min(950px, 100%); height: auto; max-height: 1024px; object-fit: contain; }
.xtra-unlock { text-align: center; margin: 28px auto; }
.xtra-unlock form { display: flex; justify-content: center; }
.performer-heading { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 8px 0 24px; }
.performer-heading h1 { margin: 0; }
.performer-heading .performer-edit { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 56px; width: 56px; height: 56px; padding: 8px; }
.performer-edit img { display: block; width: 40px; height: 40px; object-fit: contain; filter: brightness(0) invert(1); pointer-events: none; }
@media (max-width:600px) {
  .performer-heading { gap: 8px; }
  .performer-heading .performer-edit { flex-basis: 44px; width: 44px; height: 44px; }
  .performer-edit img { width: 28px; height: 28px; }
}

/* Center partial rows while retaining the gallery's responsive cover sizes. */
.performer-gallery, .performer-directory, .search-results { --performer-columns: 4; --performer-gap: 16px; }
.gallery-page :is(.performer-gallery, .performer-directory, .search-results) .album-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px var(--performer-gap); }
.gallery-page :is(.performer-gallery, .performer-directory, .search-results) .album-grid > article { flex: 0 0 calc((100% + var(--performer-gap)) / var(--performer-columns) - var(--performer-gap)); min-width: 0; }
.performer-directory .performer-letter { text-align: center; }
@media (max-width:760px) {
  .performer-gallery, .performer-directory, .search-results { --performer-columns: 3; --performer-gap: 12px; }
}
@media (max-width:520px) {
  .performer-gallery, .performer-directory, .search-results { --performer-columns: 2; --performer-gap: 8px; }
}
@media (min-width:1400px) and (orientation:landscape) {
  .performer-gallery, .performer-directory, .search-results { --performer-columns: 6; }
}
@media (min-width:1900px) and (orientation:landscape) {
  .performer-gallery, .performer-directory, .search-results { --performer-columns: 8; }
}

/* Keep search feedback aligned with the footer rule. */
.gallery-page .search-results .result-summary, .gallery-page .search-results > .empty { box-sizing: border-box; max-width: 950px; margin: 20px auto; }
@media (max-width:1000px) {
  .gallery-page .search-results .result-summary, .gallery-page .search-results > .empty { margin-left: 10px; margin-right: 10px; }
}
.album-featured-videos { max-width: 950px; margin: 0 auto 20px; }
.album-featured-videos .member-video { margin: 0; background: #000; }
.album-featured-videos p { text-align: center; margin: 8px 0 20px; }
.album-all-video .album-thumbnails { --thumb-size: 210px; }
@media (max-width:600px) {
  .album-all-video .album-thumbnails { --thumb-size: 150px; }
}
.album-cover-art-preview { display: block; width: auto; max-width: 180px; max-height: 270px; margin: 12px 0; }
.album-cover-art-editor { margin: 24px 0; border: 1px solid #444; padding: 16px; }
.password-reset-form input[type="submit"] { justify-self: start; width: auto; max-width: 100%; padding: 15px 25px; }
.navigation-column { display: flex; flex-direction: column; min-width: 0; }
.navigation-column .navigation-contact { margin-top: auto; }
.album-comments h2, .album-page .album-videos h2 { font-size: 18px; margin: 0 auto; }
.comment-actions { display: flex; align-items: flex-start; gap: 14px; margin-top: 4px; position: relative; }
.comment-actions > form { position: absolute; left: 32px; top: 0; }
.album-comment .comment-delete, .comment-edit > summary { width: auto; margin: 0; padding: 0; border: 0; background: none; font: 10px/1.4 Arial, sans-serif; color: #888; cursor: pointer; }
.comment-edit > summary { list-style: none; }
.comment-edit > summary::-webkit-details-marker { display: none; }
.album-comment .comment-delete:hover, .comment-edit > summary:hover { color: #94c949; }
.comment-edit[open] { flex: 1; min-width: 0; }
.comment-edit form { margin-top: 10px; }
.comment-edit textarea { background: #181818; color: #eee; border-color: #444; }
.comment-edit small { font-size: 11px; color: #aaa; }
.comment-form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.comment-form-actions button { width: auto; margin: 0 auto; }
.rating-star { position: relative; display: inline-block; width: 32px; height: 32px; vertical-align: middle; color: inherit; }
.rating-star svg { display: block; width: 32px; height: 32px; max-width: none; }
.rating-star-fill { position: absolute; inset: 0 auto 0 0; width: var(--star-fill); overflow: hidden; }
.rating-average-stars { color: #fff; }
.star-rating fieldset:has(button:hover) button { color: #94c949; }
.star-rating fieldset:has(button:hover) .rating-star-fill { width: 0; }
.star-rating fieldset button:hover .rating-star-fill, .star-rating fieldset button:has(~ button:hover) .rating-star-fill { width: 100%; }
.navigation-popup .navigation-links a { font-size: 18px; font-weight: 700; }
a.xtra { color: #faa; }
a.studio { color: #aaf; }
.album-videos .album-inline-video { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: none; margin: 0; object-fit: contain; background: #000; }
.album-video-player { position: relative; }
.album-video-player .member-video { margin: 0; }
.album-video-play { position: absolute; inset: 0 0 54px; width: 100%; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.album-video-play[hidden] { display: none; }
.album-video-play:focus-visible { outline: 2px solid #94c949; outline-offset: -3px; }
.new-comment > summary { width: fit-content; max-width: 100%; margin-inline: auto; list-style-position: inside; text-align: center; }
.album-comments > .feedback-status { text-align: center; }
.album-comments > header { justify-content: center; gap: 12px; }
.album-comments > header form { display: flex; margin: 0; }
.album-comments > header button { width: auto; margin: 0; }
.album-comments > header h2 { margin: 0; }

/* Studio thumbnails preserve the xsmall image’s original proportions. */
.review-grid .review-image { display: block; width: auto; height: auto; max-width: 100%; aspect-ratio: auto; object-fit: contain; margin-inline: auto; }
.contact-page { max-width: 640px; margin: 30px auto 60px; }
.contact-page > p { text-align: center; }
.contact-form { display: grid; gap: 20px; margin-top: 28px; }
.contact-form label { display: block; margin-bottom: 7px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; box-sizing: border-box; }
.contact-form textarea { resize: vertical; }
.contact-form small, .contact-test-notice { color: #aaa; font-size: 13px; }
.contact-form input[type=submit] { width: auto; justify-self: center; padding: 15px 25px; }
.contact-form input[type=submit]:disabled { opacity: .5; cursor: not-allowed; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-errors { color: #eeb7b7; }
.contact-form .cf-turnstile { justify-self: center; max-width: 100%; }

/* Search controls and feedback share a centered, compact layout. */
.gallery-tools, .gallery-tools input, .gallery-tools select, .gallery-tools button, .gallery-tools label { font-size: 15px; }
.gallery-page .search-results .result-summary { justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 24px; text-align: center; }
.photo-file-links { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; margin-bottom: 12px; }
.photo-file-links a, .photo-file-links button { background: none; border: 0; padding: 0; margin: 0; color: inherit; font: 400 13px/1.4 Arial, sans-serif; text-decoration: underline; cursor: pointer; }
.photo-file-links a:hover, .photo-file-links button:hover { color: #94c949; }
.current-album-cover { color: #f33; font-weight: bold; }
.review-grid [hidden] { display: none; }
.photo-position-fields .photo-free-label { grid-column: 3; grid-row: 1; text-align: right; }
.photo-position-fields input { box-sizing: border-box; width: 100%; height: 48px; margin: 0; }
.photo-position-fields [data-photo-position] { grid-column: 1; grid-row: 2; }
.photo-position-fields .photo-free-input { grid-column: 3; grid-row: 2; text-align: right; }
.photo-position-fields .photo-move-button { grid-column: 2; grid-row: 2; height: 48px; box-sizing: border-box; margin: 0; padding: 0 8px; font-size: 13px; }
.photo-move-button:disabled, .photo-cover-link:disabled { opacity: .5; cursor: wait; }
.photo-order-status { min-height: 1.4em; }
.photo-order-status[data-error=true] { color: #f6a5a5; }
.photo-review, .review-grid article { scroll-margin-top: 90px; }
.photo-delete-link:disabled { opacity: .5; cursor: wait; }

/* Reserve identical thumbnail space; only the fitted image is a link. */
.review-thumbnail-frame { display: flex; align-items: center; justify-content: center; height: 256px; background: #000; }
.review-thumbnail-frame .review-thumbnail-link { display: inline-flex; flex: 0 1 auto; min-width: 0; max-width: 100%; max-height: 256px; line-height: 0; }
.review-thumbnail-frame .review-image { max-height: 256px; }
.review-thumbnail-frame .review-placeholder { height: 100%; aspect-ratio: auto; background: #000; }
.review-grid article { display: flex; flex-direction: column; min-width: 0; }
.review-thumbnail-frame { flex: none; }
.photo-file-links { line-height: 1.4; }
.photo-position-fields { margin-top: auto; }
.xtras-info-page { max-width: 950px; margin: 28px auto 60px; }
.xtras-info-page h1 { text-align: center; font-size: clamp(28px, 5vw, 40px); margin-bottom: 24px; }
.xtras-info-page > img, .about-page > img{ display: block; width: 100%; height: auto; }
.xtras-info-page > p { margin: 16px clamp(0px, 4vw, 50px); line-height: 1.5; }
.xtras-info-page .xtras-subscribe { text-align: center; font-size: 20px; margin-top: 24px; }
.xtras-subscribe a { color: #fff; }
.member-video.standalone-video { width: min(100%, calc(80vh * var(--video-ratio))); height: auto; aspect-ratio: var(--video-ratio); margin-inline: auto; object-fit: contain; background: #000; }

/* Pinch transforms only the photograph; browser page zoom remains available outside the viewer. */
.album-lightbox .lightbox-stage, .album-lightbox.viewer-click-zoomed .lightbox-stage { touch-action: none; }
.album-lightbox.viewer-controls-hidden .lightbox-toolbar, .album-lightbox.viewer-controls-hidden .lightbox-stage > button { visibility: hidden; pointer-events: none; }
.album-lightbox .lightbox-stage, .album-lightbox.viewer-over-black .lightbox-stage, .album-lightbox.viewer-over-black .lightbox-image-wrap img { cursor: default; }

/* The modal itself receives focus when its controls are hidden. */
.album-lightbox:focus, .album-lightbox:focus-visible { outline: none; box-shadow: none; }
.viewer-keyboard-hint { display: none; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .album-lightbox[open] .viewer-keyboard-hint { display: flex; flex-direction: column; align-items: center; justify-content: center; position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 22vw; padding: 1.36vw .68vw; background: rgb(0 0 0 / 40%); color: #fff; font: 1.105vw/1.7 Arial, sans-serif; text-align: center; white-space: nowrap; opacity: 0; animation: viewer-keyboard-hint 2.5s linear both; }
}
@keyframes viewer-keyboard-hint {
  0%, 100% { opacity: 0; }
  8.333%, 91.667% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .album-lightbox[open] .viewer-keyboard-hint { animation: viewer-keyboard-hint-reduced 2.5s step-end both; }
}
@keyframes viewer-keyboard-hint-reduced {
  from { opacity: 1; }
  to { opacity: 0; }
}
.album-lightbox[open].viewer-hint-dismissed .viewer-keyboard-hint { animation: viewer-keyboard-hint-dismiss .3s ease-out both; }
@keyframes viewer-keyboard-hint-dismiss {
  from { opacity: var(--hint-opacity, 0); }
  to { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .album-lightbox[open].viewer-hint-dismissed .viewer-keyboard-hint { animation-duration: .01s; }
}

/* Mouse movement restores controls and removes this cursor override. */
.album-lightbox.viewer-controls-hidden, .album-lightbox.viewer-controls-hidden * { cursor: none !important; }

/* Account actions use the main popup's typography, dividers, and spacing. */
#account-navigation .navigation-links form { display: block; margin: 0; }
#account-navigation .navigation-links .text-button { display: block; width: 100%; padding: 19px 0; margin: 0; border: 0; border-bottom: 1px solid #333; background: none; color: inherit; text-align: left; font: 700 18px/1.3 Arial, sans-serif; }
#account-navigation .navigation-links .text-button:hover { color: #b4dd65; }
@media (max-width: 520px) {
  #account-navigation .navigation-links .text-button { padding: 17px 0; }
}

/* Album-specific purchased 4096 resolution options. */
.album-resolution-options { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin: 20px auto; text-align: center; }
.album-resolution-options p { flex-basis: 100%; margin: 0; }

.album-resolution-options .resolution-current { color: #999; font-weight: 700; cursor: default; }

.ultra-unlock-controls { display: flex; align-items: center; justify-content: center; gap: 14px; }
.ultra-unlock-controls form { margin: 0; }
.ultra-info-link { display: inline-flex; flex: 0 0 30px; color: #fff; }
.ultra-info-link svg { width: 30px; height: 30px; }
.ultra-info-link:hover { color: #b4dd65; }
.xtras-introduction { max-width: 1050px; margin: 0 auto 30px; padding: 0 20px; }
.xtras-introduction > p:first-child { font-size: 18px; line-height: 1.5; }
.xtra-credit-balance { text-align: center; font-size: 20px; font-weight: bold; margin: 28px 0; }
.xtra-credit-balance strong { color: #b4dd65; }
.xtra-credit-balance a { margin-left: 8px; }
.gallery-page .xtra-status-badge { position: absolute; top: 5px; right: 5px; width: clamp(75px, 60%, 144px); height: auto; z-index: 1; pointer-events: none; }
.resolution-comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin: 28px 0; }
.resolution-comparison section { padding: 20px; border: 1px solid #555; }
.resolution-comparison p { margin-inline: 0; }
.resolution-comparison .comparison-size { font-size: 24px; font-weight: bold; color: #b4dd65; }
.resolution-dimensions { max-width: 520px; margin: 30px auto; }
.resolution-dimensions svg { width: 100%; height: auto; }
.resolution-dimensions figcaption { font-size: 13px; color: #aaa; text-align: center; }
.credit-payment-methods { max-width: 700px; margin: 30px auto; }
.credit-payment-method { margin: 24px 0; }
.credit-payment-method h2 { font-size: 18px; }
.credit-copy-control { display: flex; align-items: stretch; gap: 10px; }
.credit-copy-control input { min-width: 0; flex: 1; margin: 0; }
.credit-copy-control .button { margin: 0; flex-shrink: 0; }
@media (max-width: 520px) {
  .resolution-comparison { grid-template-columns: 1fr; }
  .ultra-unlock-controls { gap: 10px; }
}

.ultra-sample-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0; align-items: center; }
.ultra-sample-grid a { display: block; }
.ultra-sample-grid img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) { .ultra-sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ultra-samples h2 { text-align: center; }

.text-center { text-align: center; }

.studio-user-columns .profile-details { display: grid; grid-template-columns: minmax(150px, 2fr) minmax(0, 3fr); gap: 8px 14px; align-items: start; }
.studio-user-columns .profile-details dt { float: none; clear: none; width: auto; padding: 0; }
.studio-user-columns .profile-details dd { min-width: 0; margin: 0; padding: 0; }
.ultra-unlock-controls form .button { margin-top: 0; }
.ultra-info-link { align-items: center; justify-content: center; line-height: 1; }
.ultra-info-link svg { display: block; }

.membership-payment-button { min-height: 58px; padding-block: 18px; font-size: 18.2px; line-height: 1.2; }
.ultra-unlock-button, .ultra-membership-link, .xtra-unlock-button { gap: 8px; }
.ultra-lock-icon { display: block; flex: 0 0 18px; width: 18px; height: 18px; color: #fff; }

.subscription-manual-methods { display: grid; gap: 16px; margin-top: 16px; }
.subscription-payment-method > summary { width: 100%; list-style: none; }
.subscription-payment-method > summary::-webkit-details-marker { display: none; }
.subscription-payment-method > summary::marker { content: ""; }
.subscription-payment-method .manual-payment-instructions { margin: 20px 0 28px; }
.subscription-payment-method .credit-payment-method h2 { font-size: 18px; }

.membership-expired-label { color: #f97878; }

.subscription-payment-method .manual-payment-followup { margin-top: 24px; }
