/* STBHB Galeri Mahasiswa - Design System */
:root {
  --navy: #0b2545;
  --navy2: #0b192c;
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --sky: #0284c7;
  --sky-dark: #0369a1;
  --sky-light: #38bdf8;
  --sky-soft: #e0f2fe;
  --gold: #f59e0b;
  --gold-soft: #fef3c7;
  --green: #059669;
  --red: #dc2626;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 28px -12px rgba(11, 37, 69, 0.16);
  --shadow-lg: 0 24px 48px -18px rgba(11, 37, 69, 0.28);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 25, 44, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 8px 20px -6px rgba(2, 132, 199, 0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 11.5px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s var(--ease);
  cursor: pointer;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(2, 132, 199, 0.65);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -6px rgba(2, 132, 199, 0.75);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(217, 119, 6, 0.55);
}

.btn-gold:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.btn-danger {
  background: #fee2e2;
  color: #991b1b;
  border-color: #fecaca;
}

.btn-danger:hover {
  background: #fecaca;
}

.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
  font-size: 12.5px;
  font-weight: 700;
}

.user-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
}

/* Warning Banner */
.alert-banner {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  color: #92400e;
  padding: 10px 0;
  font-size: 13px;
}

.alert-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, #0369a1 0%, #0b2545 50%, #0b192c 100%);
  color: #fff;
  padding: 38px 0 42px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 30% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7dd3fc, #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  margin: 0;
  color: #cbd5e1;
  font-size: 14.5px;
  max-width: 660px;
}

.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-box {
  min-width: 124px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-val {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-lbl {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 4px;
}

.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
}

.access-badge.is-guest {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
}

.access-badge.is-auth {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
}

/* Filter & Search Bar */
.toolbar-wrap {
  position: sticky;
  top: 66px;
  z-index: 30;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.chips {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.chips-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chip-group {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.chip-group-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted);
  padding: 4px 8px;
  background: #e2e8f0;
  border-radius: 7px;
  white-space: nowrap;
}

.chip.is-archive {
  background: #f8fafc;
  border-style: dashed;
}

.chip.is-archive.is-active {
  background: #334155;
  border-color: #334155;
  border-style: solid;
}

.photo-admin-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}

.btn-admin-mini {
  flex: 1;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--body);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-admin-mini:hover {
  border-color: var(--sky);
  color: var(--sky);
  background: #f0f9ff;
}

.btn-admin-mini.is-del:hover {
  border-color: var(--red);
  color: var(--red);
  background: #fef2f2;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.chip.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 6px 16px -6px rgba(11, 37, 69, 0.5);
}

.chip-count {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
  font-variant-numeric: tabular-nums;
}

.chip.is-active .chip-count {
  background: rgba(56, 189, 248, 0.24);
  color: #bae6fd;
}

.controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}

.search-box {
  position: relative;
  flex: 1 1 260px;
  max-width: 380px;
}

.search-box svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #94a3b8;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 40px;
  padding: 0 64px 0 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: #f1f5f9;
  color: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 7px;
  cursor: pointer;
  display: none;
}

.search-clear.is-visible {
  display: inline-block;
}

.sort-select {
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.toolbar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
}

/* Gallery Grid */
.gallery-section {
  padding: 24px 0 64px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.photo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.2s;
}

/* Defer off-screen rendering ONLY for cards well below initial fold */
.photo-card:nth-child(n+13) {
  content-visibility: auto;
  contain-intrinsic-size: auto 295px;
}

.photo-card:hover {
  transform: translateY(-4px);
  border-color: #bae6fd;
  box-shadow: var(--shadow-md);
}

.photo-card.is-selected {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.22);
}

.photo-thumb-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
  overflow: hidden;
  cursor: pointer;
}

.photo-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.45s var(--ease);
}

.photo-card:hover .photo-thumb-wrap img {
  transform: scale(1.03);
}

.badge-angkatan {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(11, 25, 44, 0.78);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.card-select-cb {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  accent-color: var(--sky);
  cursor: pointer;
  z-index: 2;
}

.photo-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.photo-nim {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--sky-dark);
}

.photo-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.photo-actions {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btn-mini {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-mini:hover {
  border-color: var(--sky);
  color: var(--sky);
  background: #f0f9ff;
}

.btn-mini.is-dl {
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  color: #fff;
  border-color: transparent;
}

.btn-mini.is-dl:hover {
  opacity: 0.94;
  color: #fff;
}

.btn-mini.is-locked {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.load-more-wrap {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.empty-state {
  text-align: center;
  padding: 56px 20px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 20px;
  color: var(--muted);
}

/* Native Modal Dialogs (following Modern Web Guidance) */
dialog {
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 28px);
  max-height: calc(100dvh - 28px);
}

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: rgba(11, 25, 44, 0.72);
  backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

dialog.login-dialog {
  width: 420px;
}

dialog.lightbox-dialog {
  width: 920px;
  background: #0b192c;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dlg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.lightbox-dialog .dlg-head {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dlg-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.dlg-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-dialog .dlg-close {
  border-color: rgba(255, 255, 255, 0.2);
}

.dlg-body {
  padding: 20px 22px 24px;
}

.form-field {
  margin-bottom: 15px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.input-wrap {
  position: relative;
}

.form-field input, .form-field select {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

.form-field input:focus, .form-field select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: #f1f5f9;
  color: var(--body);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.form-error {
  display: none;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.form-error.is-visible {
  display: block;
}

/* Lightbox Layout */
.lb-content {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.8fr);
  gap: 20px;
  padding: 20px 22px 22px;
  align-items: center;
}

.lb-stage {
  position: relative;
  background: #060f1d;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 360px;
  max-height: 68dvh;
}

.lb-stage img {
  max-width: 100%;
  max-height: 66dvh;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(11, 25, 44, 0.72);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lb-nav.prev { left: 10px; }
.lb-nav.next { right: 10px; }
.lb-nav:hover { background: var(--sky); border-color: var(--sky); }

.lb-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lb-meta-row {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.lb-meta-row small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
}

.lb-meta-row strong {
  display: block;
  font-size: 14.5px;
  color: #fff;
  word-break: break-word;
}

.lb-note {
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fde68a;
  font-size: 12.5px;
}

/* Batch floating bar */
.batch-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 45;
  display: none;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--navy2);
  color: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.batch-bar.is-visible {
  display: flex;
}

/* Admin Panel Layout */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.panel-card h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
}

.panel-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--body);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

th {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}

.progress-bar {
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
  display: none;
}

.progress-bar.is-visible {
  display: block;
}

.progress-bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sky), #10b981);
  transition: width 0.25s;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 22px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .lb-content {
    grid-template-columns: 1fr;
  }
  .toolbar-wrap {
    top: 62px;
  }
}

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .photo-body {
    padding: 10px;
  }
  .photo-actions {
    flex-direction: column;
  }
  .btn-mini {
    width: 100%;
  }
}
