/* ============================================================
   BY WILL VASS — GALLERY SITE STYLES
   ============================================================ */

@font-face {
  font-family: 'Coolvetica';
  src: url('../fonts/coolvetica_rg.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Coolvetica';
  src: url('../fonts/coolvetica_rg_it.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Coolvetica Condensed';
  src: url('../fonts/coolvetica_condensed_rg.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Coolvetica Compressed';
  src: url('../fonts/coolvetica_compressed_hv.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; }
body { height: 100%; background: #0a0a0a; color: #f0ede8; font-family: 'Coolvetica', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

/* ---- CSS Variables ---- */
:root {
  --black: #0a0a0a;
  --surface: #111111;
  --surface2: #161616;
  --surface3: #1e1e1e;
  --border: #222222;
  --border2: #2a2a2a;
  --orange: #ff6b1a;
  --orange-dim: #cc4f0f;
  --orange-glow: rgba(255, 107, 26, 0.12);
  --white: #f0ede8;
  --muted: #666;
  --muted2: #444;
  --muted3: #333;
}

/* ---- Page wrapper ---- */
#app { min-height: 100vh; display: flex; flex-direction: column; }

/* ================================================================
   LOGIN PAGE
   ================================================================ */
#login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  position: relative;
}
#login-page::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 60% 40%, rgba(255,107,26,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.login-box {
  width: 360px;
  padding: 48px 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}
.login-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
}
.login-logo {
  font-family: 'Coolvetica', sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 4px;
}
.login-logo span { color: var(--orange); font-style: italic; }
.login-tagline {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 36px;
}
.login-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 8px;
}
.login-input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--white);
  padding: 12px 14px;
  font-size: 14px;
  letter-spacing: 0.06em;
  outline: none;
  transition: border-color .2s;
  margin-bottom: 20px;
}
.login-input:focus { border-color: var(--orange); }
.login-btn {
  width: 100%;
  background: var(--orange);
  color: var(--black);
  padding: 13px;
  font-family: 'Coolvetica', sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background .2s;
}
.login-btn:hover { background: var(--orange-dim); }
.login-error {
  font-size: 11px;
  color: #e05555;
  margin-top: 10px;
  letter-spacing: 0.06em;
  min-height: 16px;
}
.login-hint {
  font-size: 10px;
  color: var(--muted3);
  letter-spacing: 0.08em;
  margin-top: 24px;
  text-align: center;
  line-height: 1.6;
}

/* ================================================================
   TOPBAR
   ================================================================ */
#topbar {
  height: 52px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-logo {
  font-family: 'Coolvetica', sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--white);
}
.topbar-logo span { color: var(--orange); font-style: italic; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-badge {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-glow);
  border: 1px solid rgba(255,107,26,0.25);
  padding: 3px 9px;
}
.topbar-client-name {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.topbar-logout {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted2);
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid var(--border2);
  transition: color .2s, border-color .2s;
}
.topbar-logout:hover { color: var(--white); border-color: var(--muted2); }

/* ================================================================
   ADMIN DASHBOARD
   ================================================================ */
#dashboard {
  display: flex;
  flex: 1;
  height: calc(100vh - 52px);
  overflow: hidden;
}

/* ---- Sidebar ---- */
#sidebar {
  width: 210px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  overflow-y: auto;
  padding: 16px 0;
}
#sidebar::-webkit-scrollbar { width: 4px; }
#sidebar::-webkit-scrollbar-thumb { background: var(--border2); }
.sb-section { margin-bottom: 8px; }
.sb-heading {
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted3);
  padding: 8px 16px 4px;
}
.sb-item {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background .15s;
  border-left: 2px solid transparent;
}
.sb-item:hover { background: var(--surface2); }
.sb-item.active {
  background: var(--orange-glow);
  border-left-color: var(--orange);
}
.sb-item.active .sb-name { color: var(--white); }
.sb-name { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.sb-count {
  font-size: 9px;
  color: var(--muted3);
  background: var(--surface2);
  padding: 2px 6px;
  min-width: 20px;
  text-align: center;
}
.sb-divider { height: 1px; background: var(--border); margin: 8px 16px; }

/* ---- Main area ---- */
#main {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
#main::-webkit-scrollbar { width: 4px; }
#main::-webkit-scrollbar-thumb { background: var(--border2); }

.main-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.main-title {
  font-family: 'Coolvetica', sans-serif;
  font-size: 26px;
  color: var(--white);
  letter-spacing: 0.04em;
}
.main-meta {
  font-size: 10px;
  color: var(--muted2);
  letter-spacing: 0.08em;
  margin-top: 3px;
}
.main-actions { display: flex; gap: 8px; align-items: center; }

/* ---- Buttons ---- */
.btn {
  font-family: 'Coolvetica', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--border2);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { color: var(--white); border-color: var(--muted2); }
.btn.primary {
  background: var(--orange);
  color: var(--black);
  border-color: var(--orange);
  font-weight: 400;
}
.btn.primary:hover { background: var(--orange-dim); border-color: var(--orange-dim); }
.btn.danger { color: #e05555; border-color: #e0555533; }
.btn.danger:hover { border-color: #e05555; background: rgba(224,85,85,0.08); }

/* ---- Section dividers ---- */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 16px;
}
.section-divider:first-child { margin-top: 0; }
.sd-label {
  font-family: 'Coolvetica', sans-serif;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.sd-line { flex: 1; height: 1px; background: var(--border); }
.sd-count { font-size: 9px; color: var(--muted3); letter-spacing: 0.1em; }

/* ---- Gallery Grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* ---- Gallery Card ---- */
.g-card {
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: border-color .2s;
  overflow: hidden;
}
.g-card:hover { border-color: var(--border2); }
.g-card:hover .g-actions { opacity: 1; }
.g-card:hover .g-thumb-overlay { opacity: 1; }

.g-thumb {
  height: 110px;
  background: var(--surface2);
  position: relative;
  overflow: hidden;
}
.g-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.g-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.g-thumb-placeholder svg {
  width: 22px;
  height: 22px;
  stroke: var(--border2);
}
.g-thumb-placeholder span {
  font-size: 8px;
  color: var(--muted3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.g-thumb-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  opacity: 0.2;
}
.g-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.5);
  opacity: 0;
  transition: opacity .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.g-open-icon svg { width: 20px; height: 20px; stroke: var(--white); }

.g-actions {
  position: absolute;
  top: 6px; right: 6px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity .2s;
  z-index: 2;
}
.g-action-btn {
  width: 26px;
  height: 26px;
  background: rgba(10,10,10,0.85);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
}
.g-action-btn:hover { background: var(--surface); }
.g-action-btn svg { width: 12px; height: 12px; stroke: var(--muted); fill: none; stroke-width: 1.5; }
.g-action-btn.share { border-color: rgba(255,107,26,0.3); }
.g-action-btn.share svg { stroke: var(--orange); }

.g-info { padding: 10px 12px 10px; }
.g-name {
  font-size: 12px;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted2);
  letter-spacing: 0.08em;
}
.g-status {
  display: flex;
  align-items: center;
  gap: 4px;
}
.g-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border2);
}
.g-dot.shared { background: var(--orange); }
.g-status-text { font-size: 9px; }
.g-status-text.shared { color: var(--orange); }

/* ================================================================
   GALLERY VIEW (inside a gallery)
   ================================================================ */
#gallery-view { flex: 1; overflow-y: auto; }

.gallery-view-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}
.gallery-view-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s;
}
.gallery-view-back:hover { color: var(--white); }
.gallery-view-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.gallery-view-title {
  font-family: 'Coolvetica', sans-serif;
  font-size: 20px;
  letter-spacing: 0.06em;
}
.gallery-view-actions { display: flex; gap: 8px; }

/* Photo grid inside gallery */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 3px;
  padding: 3px;
}
.photo-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface2);
  cursor: pointer;
}
.photo-item:hover .photo-item-overlay { opacity: 1; }
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.photo-item:hover img { transform: scale(1.03); }
.photo-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.55);
  opacity: 0;
  transition: opacity .2s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
}
.photo-item-name {
  font-size: 10px;
  color: var(--white);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.photo-item-actions { display: flex; gap: 6px; }
.photo-action {
  padding: 4px 8px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  background: transparent;
  transition: background .15s;
}
.photo-action:hover { background: rgba(255,255,255,0.1); }
.photo-action.set-cover { border-color: rgba(255,107,26,0.4); color: var(--orange); }
.photo-action.set-cover:hover { background: var(--orange-glow); }

/* File type cards (non-image) */
.file-item {
  aspect-ratio: 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color .2s;
}
.file-item:hover { border-color: var(--border2); }
.file-item svg { width: 28px; height: 28px; stroke: var(--muted2); fill: none; }
.file-item-name {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.file-item-ext {
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-glow);
  padding: 2px 6px;
}

/* ================================================================
   CLIENT VIEW
   ================================================================ */
#client-view { flex: 1; overflow-y: auto; }
.client-header {
  padding: 32px 40px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.client-header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 6px;
}
.client-greeting {
  font-family: 'Coolvetica', sans-serif;
  font-size: 28px;
  color: var(--white);
  letter-spacing: 0.04em;
}
.client-greeting span { color: var(--orange); font-style: italic; }
.client-sub {
  font-size: 11px;
  color: var(--muted2);
  letter-spacing: 0.08em;
}
.client-galleries { padding: 24px 40px; }
.client-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.client-g-card {
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color .2s;
  overflow: hidden;
}
.client-g-card:hover { border-color: var(--orange); }
.client-g-thumb {
  height: 130px;
  background: var(--surface2);
  position: relative;
  overflow: hidden;
}
.client-g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.client-g-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.client-g-thumb-placeholder svg { width: 24px; height: 24px; stroke: var(--border2); }
.client-g-info { padding: 12px 14px; }
.client-g-name {
  font-family: 'Coolvetica', sans-serif;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.client-g-date { font-size: 9px; color: var(--muted2); letter-spacing: 0.1em; }

/* ================================================================
   SHARE MODAL
   ================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border2);
  width: 380px;
  position: relative;
}
.modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
}
.modal-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title {
  font-family: 'Coolvetica', sans-serif;
  font-size: 16px;
  letter-spacing: 0.06em;
}
.modal-close {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border2);
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  transition: color .2s;
}
.modal-close:hover { color: var(--white); }
.modal-body { padding: 20px; }
.modal-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 6px;
}
.modal-gallery-name {
  font-family: 'Coolvetica', sans-serif;
  font-size: 18px;
  font-style: italic;
  color: var(--orange);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.modal-link-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.modal-link-text {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modal-copy-btn {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .2s;
}
.modal-copy-btn:hover { opacity: 0.7; }
.modal-note {
  font-size: 10px;
  color: var(--muted3);
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-bottom: 18px;
}
.modal-note strong { color: var(--orange); font-weight: 400; }
.modal-divider { height: 1px; background: var(--border); margin-bottom: 16px; }
.expiry-options {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.expiry-pill {
  font-size: 10px;
  padding: 5px 12px;
  border: 1px solid var(--border2);
  color: var(--muted);
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: all .15s;
}
.expiry-pill:hover { border-color: var(--muted2); color: var(--white); }
.expiry-pill.active { border-color: var(--orange); color: var(--orange); background: var(--orange-glow); }
.modal-footer { display: flex; gap: 8px; }
.modal-footer .btn { flex: 1; text-align: center; }

/* ================================================================
   LIGHTBOX
   ================================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid var(--border2);
  transition: color .2s;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: color .2s, border-color .2s;
}
.lightbox-nav:hover { color: var(--white); border-color: var(--muted2); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-nav svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.lightbox-info {
  position: absolute;
  bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.lightbox-name { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.lightbox-counter { font-size: 10px; color: var(--muted3); letter-spacing: 0.1em; }

/* ================================================================
   CONTEXT MENU
   ================================================================ */
.context-menu {
  position: fixed;
  background: var(--surface);
  border: 1px solid var(--border2);
  z-index: 300;
  min-width: 160px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
.context-item {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .1s, color .1s;
}
.context-item:hover { background: var(--surface2); color: var(--white); }
.context-item svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.5; flex-shrink: 0; }
.context-item.orange { color: var(--orange); }
.context-item.orange:hover { background: var(--orange-glow); }
.context-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ================================================================
   EMPTY STATE
   ================================================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  gap: 10px;
}
.empty-state svg { width: 36px; height: 36px; stroke: var(--border2); fill: none; }
.empty-state h3 { font-size: 16px; color: var(--muted2); font-family: 'Coolvetica', sans-serif; letter-spacing: 0.06em; }
.empty-state p { font-size: 11px; color: var(--muted3); letter-spacing: 0.04em; line-height: 1.6; max-width: 280px; }

/* ================================================================
   TOAST NOTIFICATION
   ================================================================ */
#toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--orange);
  padding: 12px 18px;
  font-size: 12px;
  color: var(--white);
  letter-spacing: 0.04em;
  z-index: 500;
  transform: translateY(80px);
  opacity: 0;
  transition: all .3s;
  pointer-events: none;
}
#toast.show { transform: translateY(0); opacity: 1; }

/* ================================================================
   GUEST / SHARE VIEW
   ================================================================ */
#guest-view { flex: 1; overflow-y: auto; }
.guest-header {
  padding: 28px 40px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.guest-title {
  font-family: 'Coolvetica', sans-serif;
  font-size: 26px;
  color: var(--white);
  letter-spacing: 0.04em;
}
.guest-by { font-size: 10px; color: var(--muted2); letter-spacing: 0.1em; margin-top: 4px; }
.guest-by span { color: var(--orange); }
.guest-photo-grid { padding: 20px 40px; }

/* ================================================================
   LOADING
   ================================================================ */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  gap: 10px;
  color: var(--muted3);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.loading-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.2s infinite;
}
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse { 0%,80%,100% { opacity: 0.2; } 40% { opacity: 1; } }

/* ================================================================
   UTILITY
   ================================================================ */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
