/* ============================================
   gomp (gomp.su) — Core Stylesheet
   Clean, intuitive, professional utility image host.
   ============================================ */

:root {
  color-scheme: dark;
  --bg:           #080a0f;
  --bg-2:         #0d1017;
  --panel:        #111520;
  --panel-2:      #161b28;
  --border:       #1e2636;
  --border-hi:    rgba(255, 107, 0, 0.4);
  --text:         #c5cfde;
  --text-hi:      #ffffff;
  --muted:        #64748b;
  --muted-2:      #3b4759;
  --accent:       #ff6b00;
  --accent-hi:    #ff8800;
  --accent-glow:  rgba(255, 107, 0, 0.25);
  --gold:         #f5a623;
  --gold-glow:    rgba(245, 166, 35, 0.25);
  --danger:       #e74c3c;
  --success:      #27ae60;
  --mono:         "Menlo", "Consolas", "Courier New", monospace;
  --sans:         'Montserrat', -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, sans-serif;
  --r:            8px;
  --r-lg:         14px;
}

/* === BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); height: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 160ms ease;
}
body.page-loaded { opacity: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
code { font-family: var(--mono); font-size: 0.88em; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1c2333; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* === SVG ICONS === */
.icon, .icon * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  stroke-width: 2px !important;
}
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-12 { width: 12px; height: 12px; }
.icon-16 { width: 16px; height: 16px; }
.icon-18 { width: 18px; height: 18px; }
.icon-20 { width: 20px; height: 20px; }
.icon-24 { width: 24px; height: 24px; }
.icon-32 { width: 32px; height: 32px; }

/* === HEADER === */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(8, 10, 15, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 16px;
  height: 56px; display: flex; align-items: center; gap: 14px;
}

.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--text-hi); text-transform: lowercase;
  flex-shrink: 0;
}
/* Clean geometric logo mark — orange rounded square */
.logo-mark {
  display: inline-block;
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 5px;
  flex-shrink: 0;
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 2px;
  background: rgba(255,255,255,0.9);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
/* logo-text glues "gomp" and ".su" into one word without flex gap */
.logo-text {
  display: inline-block;
  white-space: nowrap;
  color: var(--text-hi);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.logo-dot { color: var(--accent); }

.header-sep { flex: 1; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 6px 12px; border-radius: var(--r);
  font-size: 0.84rem; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 120ms; border: 1px solid transparent;
}
.nav a:hover { color: var(--text-hi); background: rgba(255, 255, 255, 0.05); }
.nav a.active { color: var(--accent); background: rgba(255, 107, 0, 0.1); }
.nav .pill-pro {
  color: var(--gold);
  background: rgba(245, 166, 35, 0.1);
  border-color: rgba(245, 166, 35, 0.25);
}
.nav .pill-pro:hover { background: rgba(245, 166, 35, 0.2); }
.nav .pill-btn {
  color: var(--accent-hi); background: rgba(255, 107, 0, 0.1);
  border-color: rgba(255, 107, 0, 0.35); font-weight: 700;
}
.nav .pill-btn:hover { background: rgba(255, 107, 0, 0.22); color: #fff; }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }

.mnav {
  display: none; position: fixed; inset: 0; z-index: 199;
  background: rgba(8, 10, 15, 0.98); flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
}
.mnav.open { display: flex; }
.mnav a { font-size: 1.1rem; font-weight: 700; color: var(--muted); }
.mnav a:hover { color: var(--accent); }
.mnav-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.5rem; color: var(--muted); cursor: pointer; }

/* === MAIN PAGE WRAPPER === */
.page { max-width: 1200px; width: 100%; margin: 0 auto; padding: 24px 16px 40px; flex: 1; }
.page-sm { max-width: 440px; }
.page-md { max-width: 720px; }

/* === FLASH MESSAGES === */
.flash {
  padding: 10px 14px; border-radius: var(--r);
  display: flex; align-items: center; gap: 8px;
  font-size: 0.84rem; font-weight: 600; margin-bottom: 16px;
  border: 1px solid;
}
.flash.success { background: rgba(39, 174, 96, 0.1); color: #2ecc71; border-color: rgba(39, 174, 96, 0.2); }
.flash.error { background: rgba(231, 76, 60, 0.1); color: #e74c3c; border-color: rgba(231, 76, 60, 0.2); }
.flash.info { background: rgba(52, 152, 219, 0.1); color: #5dade2; border-color: rgba(52, 152, 219, 0.2); }

/* === PAGE TITLE === */
.page-title {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.page-title h1 { font-size: 1.3rem; font-weight: 800; color: var(--text-hi); letter-spacing: -0.01em; }
.page-title p { color: var(--muted); font-size: 0.84rem; margin-top: 2px; }

/* === PANEL === */
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 18px;
}
.panel-title {
  font-size: 0.95rem; font-weight: 700; color: var(--text-hi);
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.panel-pro {
  border-color: rgba(245, 166, 35, 0.3);
  background: linear-gradient(135deg, rgba(20, 16, 8, 0.95), rgba(17, 21, 31, 0.95));
}

/* === STATS ROW (CLEAN GRID ALIGNMENT) === */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-n {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--r); padding: 8px 14px;
  font-size: 0.82rem; font-weight: 700; cursor: pointer;
  transition: background 120ms, transform 100ms;
  white-space: nowrap; border: 1px solid transparent;
  text-decoration: none; font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 6px 12px; font-size: 0.78rem; }
.btn-xs { padding: 4px 9px; font-size: 0.75rem; border-radius: 5px; }

.btn-orange { background: var(--accent); color: #fff; }
.btn-orange:hover { background: var(--accent-hi); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-muted { background: rgba(255, 107, 0, 0.1); color: var(--accent-hi); border-color: rgba(255, 107, 0, 0.2); }
.btn-muted:hover { background: rgba(255, 107, 0, 0.18); }
.btn-gold { background: var(--gold); color: #000; font-weight: 800; }
.btn-gold:hover { background: #ffbe4d; }
.btn-danger { background: rgba(231, 76, 60, 0.1); color: #e74c3c; border-color: rgba(231, 76, 60, 0.2); }
.btn-danger:hover { background: rgba(231, 76, 60, 0.2); }

/* === FORM ELEMENTS & CHECKBOXES === */
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.input-wrap { position: relative; display: flex; align-items: center; width: 100%; }
.input-wrap .input-icon { position: absolute; left: 12px; z-index: 2; color: var(--muted); pointer-events: none; display: flex; align-items: center; }
.input-wrap input { padding-left: 40px !important; width: 100%; }
.input-wrap .input-eye { position: absolute; right: 8px; z-index: 2; background: none; border: none; color: var(--muted); cursor: pointer; padding: 4px; }

input[type=text], input[type=email], input[type=password], input[type=number], input:not([type]), select, textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r);
  color: var(--text-hi);
  padding: 10px 12px;
  font: inherit; font-size: 0.86rem; width: 100%;
  transition: border-color 140ms, background 140ms;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* CLEAN CHECKBOX ROW */
.consent-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}
.consent-row input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--accent);
}
.consent-row label {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.3;
  cursor: pointer;
}

/* === DROPZONE === */
.dropzone {
  border: 2px dashed rgba(255, 107, 0, 0.35);
  border-radius: var(--r-lg);
  padding: 36px 16px;
  text-align: center; cursor: pointer;
  background: rgba(17, 21, 32, 0.6);
  transition: border-color 160ms, background 160ms;
}
.dropzone:hover, .dropzone.over {
  border-color: var(--accent);
  background: rgba(255, 107, 0, 0.05);
}
.dropzone-icon {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(255, 107, 0, 0.1); border: 1px solid rgba(255, 107, 0, 0.2);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
/* Info dropzone (no upload, no auth) — no orange circle, just plain icon */
.dropzone[style*="cursor:default"] .dropzone-icon,
.dropzone[style*="cursor: default"] .dropzone-icon {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}
.dropzone h2 { font-size: 1.2rem; font-weight: 800; color: var(--text-hi); margin-bottom: 6px; }
.dropzone p { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }

.badge-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }

/* === UPLOAD RESULT PANEL === */
.result-panel {
  display: none; background: var(--panel-2);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg); padding: 18px; margin-top: 16px;
}
.result-panel.on { display: block; }
.result-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; flex-wrap: wrap; gap: 10px;
}
.result-panel-title { font-size: 0.9rem; font-weight: 700; color: var(--text-hi); display: flex; align-items: center; gap: 6px; }
.result-item {
  display: grid; grid-template-columns: 76px 1fr; gap: 12px;
  align-items: center; background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 10px; margin-bottom: 10px;
}
.result-thumb { width: 76px; height: 76px; border-radius: 6px; overflow: hidden; background: #000; flex-shrink: 0; }
.result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.result-links { display: grid; gap: 6px; }
.copy-row { display: flex; align-items: center; gap: 6px; }
.copy-row label { font-size: 0.72rem; font-weight: 700; color: var(--muted); width: 52px; flex-shrink: 0; }
.copy-row input { font-family: var(--mono); font-size: 0.78rem; color: var(--accent-hi); background: rgba(0,0,0,0.4); padding: 5px 8px; }

/* === PHOTO GRID === */
.photo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px; margin-top: 12px;
}
.photo-wrap {
  position: relative; border-radius: var(--r);
  overflow: hidden; background: #000;
  border: 1px solid var(--border); cursor: pointer;
  aspect-ratio: 1;
}
.photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-wrap:hover { border-color: var(--accent); }
.photo-wrap-over {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.78);
  opacity: 0; transition: opacity 120ms;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8px; gap: 4px;
}
.photo-wrap:hover .photo-wrap-over { opacity: 1; }
.photo-del-btn {
  position: absolute; top: 6px; right: 6px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--danger); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* === ALBUM GRID & CARDS === */
.album-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px; margin-top: 14px;
}
.album-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color 140ms, transform 140ms; display: flex; flex-direction: column;
}
.album-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.album-thumb { aspect-ratio: 16/9; background: rgba(0, 0, 0, 0.4); overflow: hidden; position: relative; border-bottom: 1px solid var(--border); }
.album-thumb img { width: 100%; height: 100%; object-fit: cover; }
.album-thumb-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; color: var(--muted); gap: 6px;
}
.album-body { padding: 12px 14px; display: flex; flex-direction: column; flex: 1; }
.album-body h3 { font-size: 0.92rem; font-weight: 700; color: var(--text-hi); margin-bottom: 4px; }
.album-actions { display: flex; align-items: center; gap: 6px; margin-top: 12px; }

/* === TAGS / BADGES === */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 99px;
  font-size: 0.72rem; font-weight: 700;
}
.tag-orange { background: rgba(255, 107, 0, 0.12); color: var(--accent-hi); border: 1px solid rgba(255, 107, 0, 0.22); }
.tag-gold { background: rgba(245, 166, 35, 0.12); color: var(--gold); border: 1px solid rgba(245, 166, 35, 0.25); }
.tag-muted { background: rgba(255, 255, 255, 0.05); color: var(--muted); border: 1px solid var(--border); }

/* === DATA TABLES === */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.84rem;
}
.data-table th {
  background: rgba(0, 0, 0, 0.3);
  color: var(--muted);
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* === AUTH BOX === */
.auth-box {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 28px;
}
.auth-logo { text-align: center; margin-bottom: 20px; }
.auth-logo .logo { font-size: 1.5rem; justify-content: center; }
.auth-title { font-size: 1.2rem; font-weight: 800; color: var(--text-hi); text-align: center; margin-bottom: 4px; }
.auth-sub { font-size: 0.82rem; color: var(--muted); text-align: center; margin-bottom: 22px; line-height: 1.5; }
.auth-footer { text-align: center; margin-top: 18px; font-size: 0.82rem; color: var(--muted); }
.auth-footer a { color: var(--accent); font-weight: 700; }

/* Password strength indicator */
.pw-strength-bar {
  height: 4px; border-radius: 99px; margin-top: 8px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}
.pw-strength-fill {
  height: 100%; border-radius: 99px;
  transition: width 200ms, background 200ms;
  width: 0%;
}
.pw-rules { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.pw-rule {
  font-size: 0.74rem; color: var(--muted);
  display: flex; align-items: center; gap: 5px;
  transition: color 150ms;
}
.pw-rule.ok { color: #2ecc71; }
.pw-rule svg { flex-shrink: 0; }

/* === COPY TOAST === */
.toast {
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: var(--accent); color: #fff;
  padding: 8px 18px; border-radius: 99px;
  font-size: 0.8rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 18px var(--accent-glow);
  opacity: 0; transition: transform 160ms, opacity 160ms;
  z-index: 9999; pointer-events: none;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* === LIGHTBOX SLIDER WITH ARROWS === */
.lb {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(4, 6, 10, 0.95);
  backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  user-select: none;
}
.lb.on { display: flex; }
.lb-img-container {
  position: relative; max-width: 92vw; max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
}
.lb img {
  max-width: 90vw; max-height: 85vh; object-fit: contain;
  border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.lb-close {
  position: absolute; top: 16px; right: 20px;
  font-size: 2.2rem; color: #fff; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 120ms; z-index: 1002;
}
.lb-close:hover { background: var(--accent); color: #fff; border-color: transparent; }

.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; font-size: 1.6rem; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 140ms; z-index: 1001;
}
.lb-nav:hover { background: var(--accent); border-color: transparent; transform: translateY(-50%) scale(1.1); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }

.lb-counter {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6); border: 1px solid var(--border);
  padding: 4px 14px; border-radius: 99px; font-size: 0.8rem; font-weight: 700;
  color: var(--text-hi); z-index: 1001;
}

/* === CLEAN STANDARD FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 16px 0;
  margin-top: auto;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; font-size: 0.82rem; color: var(--muted);
}
.footer-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); transition: color 120ms; }
.footer-links a:hover { color: var(--accent); }

/* === HELPERS === */
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.t-muted { color: var(--muted); } .t-hi { color: var(--text-hi); } .t-accent { color: var(--accent); } .t-gold { color: var(--gold); }
.t-sm { font-size: 0.82rem; } .t-xs { font-size: 0.74rem; } .mono { font-family: var(--mono); }
.w-full { width: 100%; } .text-center { text-align: center; } .bold { font-weight: 700; }

/* === YANDEX ADS SIDEBAR LAYOUT === */
.page-wrapper-ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  max-width: 1560px;
  margin: 0 auto;
  flex: 1;
  width: 100%;
}

.side-ad-column {
  width: 160px;
  min-height: 600px;
  position: sticky;
  top: 72px;
  flex-shrink: 0;
  display: none;
  z-index: 10;
}

@media (min-width: 1200px) {
  .side-ad-column {
    display: block;
  }
}

/* === VERTICAL ALBUM POST VIEW (IMGUR STYLE) === */
.imgur-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.imgur-post-card {
  width: 100%;
  max-width: 800px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.imgur-post-image {
  width: 100%;
  height: auto;
  max-height: 1200px;
  object-fit: contain;
  display: block;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.imgur-post-footer {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.imgur-post-tools {
  display: flex;
  gap: 8px;
}

.imgur-post-filename {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
}
