.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(255, 243, 248, 0.9);
  border-bottom: 1px solid rgba(149, 109, 127, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.brand__spark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, #f4b7cf, #e6c9f8, #ffd2df, #f4b7cf);
  box-shadow: 0 0 14px rgba(244, 183, 207, 0.75);
}

.menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu a,
.menu-button {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
}

.menu a:hover,
.menu-button:hover {
  border-color: var(--border);
  background: rgba(255, 248, 252, 0.8);
  color: var(--ink);
}

.uploader-wrap {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 56px) 0;
}

.uploader-card {
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.uploader-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.stack-form {
  display: grid;
  gap: 12px;
}

.stack-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.stack-form input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.stack-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  resize: vertical;
}

.message {
  min-height: 1.3em;
  margin-top: 10px;
  color: var(--muted);
}

.message.error {
  color: #8a2f49;
}

.message.success {
  color: #1e6b4f;
}

.file-list {
  display: grid;
  gap: 10px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.file-meta {
  display: grid;
  gap: 4px;
}

.file-title {
  font-size: 16px;
}

.file-meta code {
  font-family: var(--font-mono);
  font-size: 13px;
}

.file-sub {
  font-size: 12px;
  color: var(--muted);
}

.file-description {
  margin: 0;
  font-size: 13px;
  color: var(--ink);
}

.file-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.empty {
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  color: var(--muted);
}

@media (max-width: 680px) {
  .uploader-head {
    flex-direction: column;
  }

  .file-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .file-actions {
    width: 100%;
  }

  .file-actions .btn {
    flex: 1;
  }
}
