@charset "UTF-8";

:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 248, 239, 0.34), transparent 35%),
    radial-gradient(circle at 20% 20%, rgba(122, 84, 49, 0.1), transparent 30%),
    linear-gradient(160deg, #e9ddc9 0%, #d6cab4 45%, #cabca5 100%);
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.02)),
    repeating-linear-gradient(90deg,
      rgba(90, 60, 34, 0.018) 0,
      rgba(90, 60, 34, 0.018) 1px,
      transparent 1px,
      transparent 5px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

canvas {
  display: block;
}


.label {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 196px;
  padding: 16px 18px 14px;
  background: rgba(244, 238, 226, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(43, 28, 18, 0.15);
  border-radius: 2px;
  box-shadow: 0 4px 28px rgba(69, 41, 22, 0.08);
}

.label-kicker {
  margin: 0 0 10px;
  font-size: 0.58rem;
  font-weight: normal;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(28, 20, 15, 0.36);
}

.label-id {
  display: block;
  width: 100%;
  margin: 0 0 5px;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  color: rgba(28, 20, 15, 0.88);
  text-align: left;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: color 100ms ease;
}

.label-id:hover {
  color: rgba(28, 20, 15, 1);
}

.label-meta {
  margin: 0 0 14px;
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  color: rgba(28, 20, 15, 0.44);
  min-height: 1em;
}

.label-actions {
  display: flex;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(43, 28, 18, 0.1);
}

.label-btn {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 1px solid rgba(43, 28, 18, 0.15);
  border-radius: 1px;
  padding: 7px 4px;
  font-family: inherit;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(28, 20, 15, 0.58);
  cursor: pointer;
  transition: background 100ms ease, color 100ms ease, border-color 100ms ease;
  text-align: center;
}

.label-btn:hover {
  background: rgba(43, 28, 18, 0.07);
  color: rgba(28, 20, 15, 0.88);
  border-color: rgba(43, 28, 18, 0.26);
}


.export-hint {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(50, 28, 17, 0.82);
  color: #f6ebdc;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
  white-space: nowrap;
}

.export-hint.is-visible {
  opacity: 1;
}

@media (max-width: 700px) {
  .label {
    left: 14px;
    bottom: 14px;
    width: 178px;
    padding: 14px 16px 12px;
  }

  .export-hint {
    top: 14px;
  }
}