/* Albums Partagés — Transfereko (tokens from app.css) */
.albums-page {
  min-height: 100dvh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  position: relative;
}
.albums-page > .alb-top,
.albums-page > .alb-main,
.albums-page > .alb-toast-stack,
.album-public-page > .alb-top,
.album-public-page > .alb-pub-shell,
.album-public-page > .alb-toast-stack {
  position: relative;
  z-index: 1;
}
.alb-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 55%),
    radial-gradient(ellipse 45% 35% at 95% 70%, color-mix(in srgb, var(--lime) 7%, transparent), transparent 50%),
    var(--bg);
}

.alb-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.alb-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 18px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.alb-back:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}
.alb-back i { font-size: 0.78rem; }
.alb-brand img { display: block; height: 32px; width: auto; }
.alb-top-nav {
  display: flex;
  gap: 14px;
  margin-left: 8px;
}
.alb-top-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.alb-top-nav a[aria-current="page"],
.alb-top-nav a:hover { color: var(--accent); }
.alb-top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alb-main {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 40px) 64px;
}

.alb-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  margin-bottom: clamp(36px, 6vw, 56px);
  max-width: none;
}
.alb-hero-copy {
  max-width: 36rem;
}
.alb-eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.alb-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.12;
  font-weight: 700;
}
.alb-hero-lead {
  margin: 0 0 22px;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.55;
}
.alb-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.alb-plan-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.alb-hero-visual {
  margin: 0;
  position: relative;
  justify-self: stretch;
  min-height: clamp(280px, 42vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.alb-hero-visual::before {
  content: '';
  position: absolute;
  inset: 12% 8%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent) 28%, transparent) 0%,
    transparent 70%
  );
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.alb-hero-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: min(720px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.45));
  animation: alb-hero-float 7s ease-in-out infinite;
}
@keyframes alb-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .alb-hero-visual img { animation: none; }
}

.alb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.alb-btn--primary { background: var(--accent); color: #fff; }
.alb-btn--primary:hover { filter: brightness(1.07); }
.alb-btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-dim);
}
.alb-btn--ghost:hover { color: var(--accent); border-color: var(--accent); }
.alb-btn--lg { height: 46px; padding: 0 20px; }
.alb-btn--block { width: 100%; margin-top: 12px; }
.alb-btn--danger { color: var(--danger, #e5484d); border-color: color-mix(in srgb, var(--danger, #e5484d) 35%, var(--border)); }
.alb-btn--sm { height: 34px; padding: 0 12px; font-size: 0.82rem; }

.alb-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.alb-icon-btn:hover { color: var(--accent); border-color: var(--accent); }

.alb-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.alb-list-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.alb-empty, .alb-auth-needed {
  padding: 28px;
  text-align: center;
  color: var(--text-faint);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.alb-auth-needed a { color: var(--accent); }

.alb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.alb-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 92%, var(--surface-raised));
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
}
.alb-card.is-expired { opacity: 0.55; }
.alb-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.alb-card-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.45;
}
.alb-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.alb-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-wash, color-mix(in srgb, var(--accent) 14%, transparent));
  color: var(--accent);
}
.alb-badge--warn {
  background: color-mix(in srgb, #f5a524 18%, transparent);
  color: #f5a524;
}
.alb-card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.alb-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.alb-progress > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
}

/* Modal — fixed viewport center + soft open/close */
.alb-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: color-mix(in srgb, #000 55%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.alb-modal-overlay[hidden] { display: none !important; }
.alb-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.alb-modal {
  width: min(520px, 96vw);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.22s ease;
}
.alb-modal-overlay.is-open .alb-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.alb-modal-overlay.is-closing .alb-modal {
  transform: translateY(10px) scale(0.98);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .alb-modal-overlay,
  .alb-modal {
    transition: none;
  }
}
.alb-modal--sm { width: min(420px, 96vw); }
.alb-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.alb-modal-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.alb-form { display: flex; flex-direction: column; gap: 14px; }
.alb-field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; }
.alb-field > span, .alb-field legend {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
}
.alb-field em { font-style: normal; font-weight: 400; color: var(--text-faint); }
.alb-field input,
.alb-field textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
  resize: none;
}
.alb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.alb-chip {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}
.alb-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.alb-chip.is-locked { opacity: 0.55; }
.alb-pro-badge {
  margin-left: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--lime);
}
.alb-chip.is-active .alb-pro-badge { color: #fff; }

.alb-toggle {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
.alb-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.alb-toggle-ui {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--border);
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
  transition: background 0.15s ease;
}
.alb-toggle-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}
.alb-toggle input:checked + .alb-toggle-ui { background: var(--accent); }
.alb-toggle input:checked + .alb-toggle-ui::after { transform: translateX(18px); }
.alb-toggle-copy { display: flex; flex-direction: column; gap: 2px; }
.alb-toggle-copy strong { font-size: 0.9rem; }
.alb-toggle-copy small { color: var(--text-faint); font-size: 0.78rem; line-height: 1.4; }
.alb-toggle.is-locked { opacity: 0.55; pointer-events: none; }

.alb-form-error { margin: 0; color: var(--danger, #e5484d); font-size: 0.88rem; }
.alb-form-actions { display: flex; justify-content: flex-end; gap: 8px; }

.alb-share-lead { margin: 0 0 10px; color: var(--text-dim); font-size: 0.9rem; }
.alb-share-row { display: flex; gap: 8px; }
.alb-share-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--text);
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.alb-qr {
  margin: 16px auto 0;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}
.alb-qr canvas, .alb-qr img { max-width: 100%; height: auto; }

.alb-toast-stack {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(92vw, 380px);
}
.alb-toast {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
}
.alb-toast.is-error { border-color: color-mix(in srgb, var(--danger, #e5484d) 40%, var(--border)); }
.alb-toast.is-success { border-color: color-mix(in srgb, var(--lime) 40%, var(--border)); }

@media (max-width: 720px) {
  .alb-top-nav { display: none; }
  .alb-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .alb-hero-visual {
    order: -1;
    min-height: 0;
  }
  .alb-hero-visual img {
    max-width: min(560px, 100%);
    margin: 0 auto;
  }
  .alb-hero-actions { flex-direction: column; align-items: stretch; }
}

/* ===== Public album page — professional shell ===== */
.album-public-page .alb-top--public {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(12px) saturate(1.05);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.album-public-page .alb-ambient {
  opacity: 0.55;
}
.alb-top-chip {
  margin-left: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.alb-pub-shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px clamp(16px, 4vw, 36px) 72px;
}

.alb-pub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  margin-bottom: 28px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--surface) 88%, transparent) 0%,
      color-mix(in srgb, var(--surface-raised) 55%, transparent) 100%
    );
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.alb-pub-hero.is-filled .alb-pub-hero-visual { display: none; }
.alb-pub-hero.is-filled { grid-template-columns: 1fr; }
.alb-pub-hero-copy { min-width: 0; }
.album-public-page .alb-pub-hero h1 {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.alb-pub-desc {
  margin: 0 0 16px;
  color: var(--text-dim);
  max-width: 42ch;
  line-height: 1.55;
  font-size: 1.02rem;
}
.alb-pub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.alb-pub-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
}
.alb-pub-pill i { color: var(--accent); font-size: 0.78rem; }

.alb-pub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: none;
  margin: 0;
  padding: 0;
}

.alb-pub-hero-visual {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(200px, 28vw, 340px);
}
.alb-pub-hero-visual img {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.4));
}

.alb-pub-gallery { min-height: 180px; }

.alb-masonry {
  max-width: none;
  margin: 0;
  padding: 0;
  columns: 3 240px;
  column-gap: 14px;
}
.alb-tile {
  break-inside: avoid;
  margin: 0 0 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  position: relative;
  padding: 0;
  width: 100%;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.alb-tile:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.alb-tile img,
.alb-tile video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.alb-tile-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 10px;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  opacity: 0;
  transition: opacity 0.18s ease;
}
.alb-tile:hover .alb-tile-cap { opacity: 1; }

.alb-pub-empty {
  display: grid;
  place-items: center;
  padding: 8px 0 24px;
  min-height: 280px;
}
.alb-pub-empty[hidden] { display: none !important; }
.alb-pub-empty-card {
  width: min(520px, 100%);
  text-align: center;
  padding: 40px 28px 36px;
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface-raised) 70%, transparent) 0%,
      color-mix(in srgb, var(--surface) 88%, transparent) 100%
    );
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.alb-pub-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  font-size: 1.35rem;
}
.alb-pub-empty-card h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.alb-pub-empty-card p {
  margin: 0 0 18px;
  color: var(--text-dim);
  line-height: 1.5;
}
.alb-pub-empty--error .alb-pub-empty-icon {
  background: color-mix(in srgb, var(--danger, #e5484d) 14%, transparent);
  color: var(--danger, #e5484d);
}

.alb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "toolbar toolbar toolbar"
    "prev stage next"
    "meta meta meta";
  align-items: center;
  justify-items: center;
  padding: 12px;
  gap: 8px;
}
.alb-lightbox[hidden] { display: none !important; }
.alb-lightbox-toolbar {
  grid-area: toolbar;
  width: min(1100px, 96vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.alb-lightbox-counter {
  margin: 0;
  color: #eee;
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
}
.alb-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.alb-lightbox-actions .alb-icon-btn {
  background: #222;
  color: #fff;
  border-color: #444;
}
.alb-lightbox-stage {
  grid-area: stage;
  width: min(96vw, 1100px);
  height: min(78vh, 820px);
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: default;
}
.alb-lightbox-media {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  touch-action: none;
}
.alb-lightbox img,
.alb-lightbox video {
  max-width: 100%;
  max-height: min(78vh, 820px);
  border-radius: 12px;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  user-select: none;
}
.alb-lightbox img.is-zoomed {
  cursor: grab;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
}
.alb-lightbox-media.is-video img.is-zoomed { cursor: default; }
.alb-lightbox-meta {
  grid-area: meta;
  color: #ddd;
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
  max-width: min(96vw, 900px);
}
.alb-lightbox-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #444;
  background: #222;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.alb-lightbox-nav--prev { grid-area: prev; }
.alb-lightbox-nav--next { grid-area: next; }
.alb-lightbox-nav[hidden] { display: none !important; }
.alb-lightbox-close {
  background: #222;
  color: #fff;
  border-color: #444;
}
.alb-tile-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 85%, #000);
  color: #fff;
  pointer-events: none;
}
.alb-tile { position: relative; }

.alb-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  text-align: center;
  color: var(--text-dim);
  background: color-mix(in srgb, var(--surface-raised) 60%, transparent);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.alb-dropzone-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.alb-dropzone-title {
  margin: 0;
  font-weight: 700;
  color: var(--text);
  font-size: 0.98rem;
}
.alb-dropzone-hint {
  margin: 0 0 8px;
  font-size: 0.84rem;
  color: var(--text-faint);
}
.alb-dropzone.is-drag {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}
.alb-progress-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.alb-up-item {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
}
.alb-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
}
.alb-tab {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.alb-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

@media (max-width: 860px) {
  .alb-pub-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .alb-pub-hero-visual { order: -1; min-height: 0; }
  .alb-pub-hero-visual img { max-width: min(380px, 100%); }
  .alb-pub-actions { flex-direction: column; align-items: stretch; }
  .alb-top-chip { display: none; }
  .alb-masonry { columns: 2 160px; }
}

@media (max-width: 520px) {
  .alb-masonry { columns: 1; }
  .alb-pub-shell { padding-top: 12px; }
}
