/* Share — layout sur tokens Aubui */
.aub-share { min-height: 100vh; display: flex; flex-direction: column; background: var(--aub-bg); color: var(--aub-fg); }
.aub-share-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--aub-space-4) var(--aub-space-5); border-bottom: 1px solid var(--aub-border);
}
.aub-share-top__brand { display: flex; align-items: center; gap: var(--aub-space-2); font-weight: 650; }
.aub-share-top__brand img { width: 28px; height: 28px; border-radius: 6px; }
.aub-share-main { flex: 1; padding: var(--aub-space-6) var(--aub-space-4); max-width: 36rem; margin: 0 auto; width: 100%; }
.aub-share-main--wide { max-width: 48rem; }
.aub-drop {
  border: 2px dashed var(--aub-border-strong); border-radius: var(--aub-radius-lg);
  padding: var(--aub-space-8) var(--aub-space-4); text-align: center;
  cursor: pointer; transition: border-color var(--aub-transition), background var(--aub-transition);
  color: var(--aub-fg-muted);
}
.aub-drop:hover, .aub-drop.hover { border-color: var(--aub-accent); background: var(--aub-accent-muted); color: var(--aub-fg); }
.aub-drop input[type=file] { display: none; }
.aub-progress { margin-top: var(--aub-space-4); display: none; }
.aub-progress.is-on { display: block; }
.aub-progress progress { width: 100%; height: 0.65rem; }
.aub-result { margin-top: var(--aub-space-4); display: none; }
.aub-result.is-on { display: block; }
.aub-preview-icon { font-size: 2.5rem; margin-bottom: var(--aub-space-3); }
.aub-preview-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--aub-space-3);
  margin: var(--aub-space-5) 0; font-size: var(--aub-text-sm);
}
.aub-preview-meta div {
  background: var(--aub-bg-muted); border-radius: var(--aub-radius); padding: var(--aub-space-3); text-align: center;
}
.aub-preview-box {
  background: var(--aub-bg-muted); border-radius: var(--aub-radius-lg); padding: var(--aub-space-4);
  text-align: center; margin-bottom: var(--aub-space-5);
}
.aub-preview-box img, .aub-preview-box video { max-width: 100%; border-radius: var(--aub-radius); }
@media (max-width: 520px) {
  .aub-preview-meta { grid-template-columns: 1fr; }
}
