:root {
  --ink: #1c1917;
  --muted: #78716c;
  --paper: #fafaf9;
  --line: #e7e5e4;
}

body {
  font-family: "Patrick Hand", "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(ellipse at top, #f5f0e8 0%, transparent 55%),
    linear-gradient(180deg, #fafaf9 0%, #f3efe8 100%);
  min-height: 100vh;
}

.page-heading,
.site-title,
.font-heading {
  font-family: "Caveat", "Patrick Hand", cursive;
}

.page-heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.budget-panel,
.fugl-panel {
  position: relative;
}

.drawing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.drawing-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.15s;
}

.drawing-card:hover {
  border-color: #a5b4fc;
}

.drawing-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f5f5f4;
}

.drawing-card-body {
  padding: 0.85rem 1rem 1rem;
}

.drawing-hero {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.lang-toggle.selected {
  background: #1c1917;
  color: #fff;
  border-color: #1c1917;
}

.auth-screen {
  max-width: 28rem;
  margin: 2rem auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 0.35rem;
  background: #f5f5f4;
}

.coming-soon {
  border: 1px dashed #d6d3d1;
  border-radius: 0.75rem;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
}
