.gallery-page{min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--text)}.gallery-container{width:min(1320px,calc(100% - 10%));margin-inline:auto}.gallery-main,.gallery-main-layout{flex:1}.gallery-main{padding:36px 0 56px}.gallery-hero-tagline{margin-top:14px;font-size:clamp(16px,2vw,20px);font-weight:600;line-height:1.35}.gallery-hero-content .public-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-main-layout .hero-controls-only{justify-content:flex-end}.gallery-brand-wordmark{position:relative;padding-right:32px}.gallery-brand-camera{position:absolute;right:0;top:-4px;display:grid;place-items:center;width:28px;height:24px;border:1px solid #ff5673;border-radius:5px;background:#ac0025;color:#fff}.public-header .gallery-brand-camera>svg{width:18px;height:18px}.gallery-heading{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-bottom:24px}.gallery-photo-detail h1{font-size:clamp(25px,4vw,40px);line-height:1.17;letter-spacing:-.04em}.gallery-grid-heading{font-size:clamp(19px,2.5vw,25px);margin:0}.photo-of-day{display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,43%);max-width:705px;align-items:center;gap:16px;margin-bottom:26px;padding:12px;border:1px solid #ff5673;border-radius:12px;background:var(--panel);box-shadow:0 0 0 1px #ff567335}.photo-of-day-copy{padding-left:8px;min-width:0}.photo-of-day-copy h2{font-size:clamp(20px,2.4vw,27px);line-height:1.2}.photo-of-day-copy p{font-size:13px;color:var(--muted);margin-top:6px}.photo-of-day-copy .text-link{display:inline-block;margin-top:9px}.photo-of-day-copy .photo-of-day-open{color:var(--accent);font-weight:700;animation:gallery-voting-pulse 2.4s ease-in-out infinite}@keyframes gallery-voting-pulse{0%,to{opacity:1}50%{opacity:.7}}@media(prefers-reduced-motion:reduce){.photo-of-day-copy .photo-of-day-open{animation:none}}.photo-of-day-history{display:flex;align-items:center;gap:6px;margin-top:9px}.photo-of-day-history button{display:grid;place-items:center;width:34px;height:32px;border:1px solid var(--border);border-radius:7px;background:var(--input);color:var(--text)}.photo-of-day-history button:disabled{opacity:.42}.photo-of-day-history button:focus-visible,.photo-of-day-history button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.photo-of-day-preview{position:relative;display:block;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:var(--input)}.photo-of-day-vote-count{position:absolute;top:8px;right:8px;padding:4px 8px;border-radius:6px;background:#10121cdb;color:white;font-size:12px;font-weight:600;line-height:1.2}.photo-of-day-preview:has(>.gallery-photo-day-trophy){box-shadow:0 0 0 1px #ff5673}.photo-of-day-medal{position:absolute;z-index:1;top:8px;left:8px;display:block;filter:drop-shadow(0 1px 2px #000)}.photo-of-day-medal[data-place="1"]{color:#ffd65a}.photo-of-day-medal[data-place="2"]{color:#e1e6ed}.photo-of-day-medal[data-place="3"]{color:#dc9b6d}.photo-of-day-preview img{display:block;width:100%;height:100%;object-fit:cover}#gallery-photos,#gallery-search{scroll-margin-top:18px}.gallery-active-filters,.gallery-filter-actions,.gallery-heading-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.gallery-heading-actions{justify-content:flex-end}.gallery-filter{display:grid;grid-template-columns:minmax(145px,1.55fr) minmax(105px,1fr) minmax(150px,1.35fr) minmax(83px,.75fr) minmax(105px,.85fr) auto;align-items:end;gap:12px;padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.gallery-filter label{display:grid;gap:6px;color:var(--muted);min-width:0}.gallery-filter input,.gallery-filter select{width:100%;min-height:38px}.gallery-filter select:focus:not(:focus-visible){border-color:var(--border);box-shadow:none}.gallery-active-filters:not(:empty){margin-top:12px}.gallery-active-filters .button{white-space:normal;overflow-wrap:anywhere;max-width:100%;text-align:start}.gallery-active-filters svg{flex-shrink:0}.gallery-text-link{text-decoration:underline;text-decoration-color:var(--muted);text-underline-offset:3px}.gallery-text-link:focus-visible,.gallery-text-link:hover{color:var(--accent);text-decoration-color:currentColor}.gallery-results{margin:18px 0 12px}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.gallery-tile-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.gallery-tile{position:relative;min-width:0}.gallery-tile-image{display:block;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--panel)}.gallery-tile-image:focus-visible,.gallery-tile-image:hover{border-color:var(--accent)}.gallery-tile-image img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--input)}.gallery-photo-day-trophy{position:absolute;z-index:1;top:8px;left:8px;display:block;color:#ffd65a}.gallery-photo-detail figure:has(>.gallery-photo-day-trophy),.gallery-tile-image:has(>.gallery-photo-day-trophy){border-color:#ff5673;box-shadow:0 0 0 1px #ff56735c}.gallery-photo-detail figure>.gallery-photo-day-trophy{top:12px;left:12px}.gallery-photo-detail figure>.gallery-photo-day-trophy svg{width:22px;height:22px}.gallery-vote-icon{display:inline-flex;align-items:center;gap:5px}.gallery-vote-count{font-variant-numeric:tabular-nums;font-weight:650}.gallery-tile-vote{position:absolute;bottom:7px;right:7px;display:grid;place-items:center;min-width:36px;height:36px;padding:0 2px;border:0;border-radius:7px;background:transparent;color:#fff}.gallery-tile-vote .gallery-vote-count{font-size:11px;text-shadow:0 1px 3px #000,0 0 2px #000}.gallery-photo-day-trophy svg,.gallery-tile-vote svg{filter:drop-shadow(0 1px 2px #000) drop-shadow(0 0 2px #000)}.gallery-tile-vote:focus-visible,.gallery-tile-vote:is(button,a):hover{color:#ff5673}.gallery-tile-vote:focus-visible{outline:2px solid currentColor;outline-offset:-2px}.gallery-tile-vote[aria-pressed=true] svg{fill:#ff4566}.gallery-tile-vote:disabled{cursor:progress}.gallery-more{margin-top:12px}.gallery-card{border:1px solid var(--border);border-radius:10px;background:var(--panel);overflow:hidden;min-width:0}.gallery-card-image{display:block;background:var(--input);aspect-ratio:16/9;overflow:hidden}button.gallery-card-image{width:100%;padding:0;border:0;cursor:pointer}button.gallery-card-image:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.gallery-card-image img{display:block;width:100%;height:100%;object-fit:cover}.gallery-card-content{padding:14px 15px 16px;display:grid;gap:5px;min-width:0}.gallery-card-meta,.gallery-country{display:flex;align-items:center;gap:8px}.gallery-card-meta{color:var(--muted);font-size:12px;margin-bottom:2px}.gallery-country .country-flag{width:17px;height:12px;object-fit:cover}.gallery-card h2,.gallery-card p,.gallery-card strong,.gallery-photo-detail dd,.gallery-photo-detail h1{overflow-wrap:anywhere}.gallery-title-date{color:var(--muted);font-weight:500;font-size:.72em;letter-spacing:normal}.gallery-credit,.gallery-description,.gallery-description-excerpt,.gallery-place,.gallery-railway{overflow-wrap:anywhere}.gallery-credit,.gallery-place,.gallery-railway{font-size:12px;color:var(--muted)}.gallery-credit{margin-top:6px}.gallery-credit strong{color:var(--text)}.gallery-description{white-space:pre-wrap}.gallery-description-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.gallery-empty{min-height:230px;margin-top:18px;display:grid;place-content:center;justify-items:center;gap:12px;color:var(--muted);border:1px dashed var(--border);border-radius:10px;text-align:center;padding:16px}.gallery-back{margin-bottom:20px}.gallery-photo-detail{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(240px,1fr);gap:24px;align-items:start}.gallery-photo-detail figure{position:relative;margin:0;background:var(--panel);border:1px solid var(--border);border-radius:10px;overflow:hidden}.gallery-expand-photo{position:relative;display:block;padding:0;width:100%;border:0;background:var(--input);text-align:start;cursor:zoom-in}.gallery-expand-photo img{display:block;width:100%;height:auto;max-height:75vh;object-fit:contain}.gallery-expand-label{display:flex;align-items:center;gap:6px;position:absolute;bottom:12px;right:12px;border-radius:8px;padding:8px 10px;background:#081019e6;color:#fff;font-size:12px;font-weight:600}.gallery-expand-photo:focus-visible .gallery-expand-label,.gallery-expand-photo:hover .gallery-expand-label{background:var(--accent)}.gallery-fullscreen{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#080b10;color:#fff;overflow:hidden}.gallery-fullscreen-content{display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;height:100%;background:#080b10;color:#fff}.gallery-fullscreen::backdrop{background:#080b10}.gallery-fullscreen header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px clamp(10px,3vw,24px);border-bottom:1px solid #ffffff24}.gallery-fullscreen header strong{overflow-wrap:anywhere}.gallery-close-fullscreen{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border:1px solid #ffffff55;border-radius:8px;background:transparent;color:inherit}.gallery-close-fullscreen:focus-visible,.gallery-close-fullscreen:hover{background:#ffffff24}.gallery-fullscreen-stage{display:grid;place-items:center;min-height:0;container-type:size;overflow:hidden}.gallery-fullscreen-image{position:relative;max-width:100%;max-height:100%}.gallery-fullscreen-image img{display:block;width:auto;height:auto;max-width:100cqw;max-height:100cqh;object-fit:contain;cursor:zoom-out}.gallery-photo-detail section{padding:20px;border:1px solid var(--border);border-radius:10px;background:var(--panel)}.gallery-photo-detail h1{font-size:clamp(21px,3vw,31px)}.gallery-photo-detail dl{display:grid;gap:10px;margin:18px 0}.gallery-photo-detail dt{font-size:12px;color:var(--muted)}.gallery-photo-detail dd{margin:0}.gallery-favorite-control{margin-top:12px}.gallery-favorite-button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.gallery-vote{scroll-margin-top:18px;display:grid;gap:7px;justify-items:start;margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}.gallery-vote h2{font-size:15px}.gallery-vote .muted{font-size:12px}.gallery-vote-button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.gallery-vote-button[aria-pressed=true] svg{fill:currentColor}.gallery-discussion{margin-top:24px;padding:20px;border:1px solid var(--border);border-radius:10px;background:var(--panel);scroll-margin-top:18px;display:grid;gap:14px}.gallery-comment-meta,.gallery-discussion h2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.gallery-discussion h2>svg{color:var(--accent);fill:currentColor}.gallery-comments{list-style:none;margin:0;padding:0}.gallery-comments li{border-bottom:1px solid var(--border);padding:10px 0}.gallery-comments p{margin:5px 0 0;white-space:pre-wrap}.gallery-comment-meta,.gallery-comments p{overflow-wrap:anywhere}.gallery-action-error,.gallery-comment-access,.gallery-comment-meta time{font-size:13px}.gallery-action-error{color:var(--accent);margin-top:6px}.gallery-comment-form{max-width:720px}.gallery-comment-form button{justify-self:start}.gallery-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-form-grid label,.gallery-location-fields label{display:grid;gap:6px;min-width:0;align-content:start}.gallery-location-fields{display:grid;gap:10px}.gallery-location-fields>label,.gallery-location-single{width:100%;max-width:440px}.gallery-location-input{position:relative;display:grid;gap:6px;min-width:0}.gallery-location-options{position:absolute;z-index:5;top:100%;width:100%;max-height:182px;overflow:auto;list-style:none;margin:4px 0 0;padding:4px;background:var(--panel);border:1px solid var(--border);border-radius:7px;box-shadow:0 8px 24px #0003}.gallery-location-options li{padding:7px 9px;border-radius:4px;cursor:pointer;overflow-wrap:anywhere}.gallery-location-options li:hover,.gallery-location-options li[aria-selected=true]{background:var(--input);color:var(--accent)}.gallery-upload-form button{justify-self:start}.gallery-fieldset{min-width:0;margin:0;padding:0;border:0}.gallery-upload-preview{display:flex;align-items:center;gap:12px;margin:0;min-width:0}.gallery-upload-thumbnail{position:relative;display:grid;place-items:center;width:128px;aspect-ratio:4/3;flex:none;overflow:hidden;background:var(--input);border:1px solid var(--border);border-radius:8px}.gallery-upload-thumbnail img{display:block;width:100%;height:100%;object-fit:contain;transition:filter .18s}.gallery-upload-preview[data-phase=uploading] img{filter:brightness(.42)}.gallery-upload-preview[data-phase=uploaded] .gallery-upload-thumbnail{border-color:var(--green)}.gallery-upload-preview[data-phase=uploaded] strong{color:var(--green)}.gallery-upload-preview[data-phase=failed] strong{color:var(--accent)}.gallery-upload-preview figcaption{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.gallery-upload-preview strong{display:flex;align-items:center;gap:6px}.gallery-upload-spinner{position:absolute;color:white;animation:gallery-upload-spin .85s linear infinite}@keyframes gallery-upload-spin{to{transform:rotate(1turn)}}@media(prefers-reduced-motion:reduce){.gallery-upload-spinner{animation:none}.gallery-upload-thumbnail img{transition:none}}.gallery-card-actions,.gallery-review-tabs{display:flex;gap:8px;flex-wrap:wrap}.gallery-review-tabs{margin-bottom:14px}.gallery-card-actions{margin-top:7px;align-items:center}.gallery-queue-empty{padding:16px 0}.gallery-plan-notice{justify-content:space-between;flex-wrap:wrap}.gallery-moderation-preview{display:grid;gap:8px;margin:0}.gallery-moderation-preview>.button{justify-self:start}.gallery-moderation-photo img{display:block;width:100%;height:auto;max-height:65vh;object-fit:contain;background:var(--input)}.gallery-moderation-details{padding:12px 0}@media(max-width:1200px){.gallery-tile-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1000px){.gallery-filter,.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-filter-actions{grid-column:1/-1}.gallery-photo-detail{grid-template-columns:1fr}}@media(max-width:850px){.gallery-tile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.gallery-container{width:calc(100% - 28px)}.gallery-main{padding-top:24px}.gallery-brand-wordmark{padding-right:26px}.gallery-brand-camera{width:23px;height:20px;top:-3px}.public-header .gallery-brand-camera>svg{width:15px;height:15px}.photo-of-day{gap:8px;padding:8px}.photo-of-day-copy{padding-left:3px}.gallery-heading{gap:8px;margin-bottom:16px;flex-wrap:wrap}.gallery-heading-actions{justify-content:flex-start}.gallery-heading .button{padding-inline:9px;font-size:11px}.gallery-filter,.gallery-form-grid,.gallery-grid{grid-template-columns:minmax(0,1fr)}.gallery-filter{padding:12px;gap:9px}.gallery-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gallery-tile-vote{bottom:6px;right:6px;min-width:34px;height:34px}.gallery-photo-detail{gap:12px}.gallery-discussion,.gallery-photo-detail section{padding:14px}}