.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-lavender {
  background: var(--lavender);
}

.btn-white {
  background: var(--white);
}

.btn-mint {
  background: var(--mint);
}

.btn-peach {
  background: var(--peach);
}

.btn-full {
  width: 100%;
}

.card {
  border: var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.field {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: var(--border);
  border-radius: var(--radius-input);
  background: var(--white);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.chip[aria-pressed="true"] {
  background: var(--lavender);
}

.chip[aria-pressed="true"].chip-mint {
  background: var(--mint);
}

.product-grid,
.board-grid,
.pin-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}

.product-image,
.pin-image,
.video-image {
  display: flex;
  min-height: 200px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: var(--border);
  border-radius: var(--radius-image);
  color: var(--ink);
  font-size: 14px;
  text-align: center;
}

.product-image {
  height: 200px;
}

.product-image img,
.pin-image img,
.video-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-peach {
  background: var(--peach);
}

.art-mint {
  background: var(--mint);
}

.art-lavender {
  background: var(--lavender);
}

.product-title {
  font-size: 20px;
}

.product-price {
  font-weight: 700;
}

.product-note {
  color: var(--muted);
  font-size: 13px;
}

.board-card,
.pin-card,
.video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}

.board-mosaic {
  display: grid;
  min-height: 200px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.board-mosaic .pin-image {
  min-height: 0;
}

.board-mosaic .pin-image:first-child {
  grid-row: span 2;
}

.pin-image,
.video-image {
  height: 200px;
}

.content-placeholder {
  padding: 14px;
  border: var(--border);
  border-radius: var(--radius-image);
  background: var(--lavender);
  font-size: 14px;
}

.video-label {
  color: var(--muted);
  font-size: 14px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-card,
.admin-placeholder-card {
  display: flex;
  width: min(100%, 640px);
  flex-direction: column;
  gap: 20px;
  margin-inline: auto;
  padding: 28px;
}

.admin-form {
  display: grid;
  gap: 20px;
}

.drop-zone {
  position: relative;
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 36px;
  border: 1.5px dashed var(--ink);
  border-radius: var(--radius-input);
  background: var(--bg);
  text-align: center;
  cursor: pointer;
}

.drop-zone:focus-within {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.drop-zone.is-dragging {
  background: var(--lavender);
}

.drop-prompt {
  font-weight: 500;
}

.drop-help {
  color: var(--muted);
  font-size: 14px;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.image-preview {
  max-height: 200px;
  border: var(--border);
  border-radius: var(--radius-image);
  object-fit: contain;
}

.field-group {
  display: grid;
  gap: 6px;
}

.field-label {
  font-size: 15px;
  font-weight: 500;
}

textarea.field {
  min-height: 100px;
  resize: vertical;
}

.platform-fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.platform-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-chip {
  cursor: pointer;
}

.form-status {
  min-height: 1.5em;
  color: var(--muted);
  font-size: 14px;
}

.form-status[data-state="error"] {
  color: var(--ink);
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: var(--ink);
  font-weight: 700;
}

.admin-note {
  font-size: 14px;
}

.publish-button {
  justify-self: start;
}

.publish-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
