/* Shitty Zine — DIY zine microsite (winehehe.com) */
*, *::before, *::after { box-sizing: border-box; }

body.sz-page {
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  background: #e8e4df;
  color: #1a1a1a;
  min-height: 100vh;
  line-height: 1.5;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="n"><feTurbulence baseFrequency="0.02" numOctaves="3"/></filter><rect width="100" height="100" filter="url(%23n)" opacity="0.04"/></svg>');
}

.sz-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.sz-banner {
  background: #1a1a1a;
  color: #fff;
  padding: 24px 16px;
  text-align: center;
  font-weight: bold;
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 2px solid #1a1a1a;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.sz-banner small {
  display: block;
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  opacity: 0.92;
  font-weight: normal;
}

.sz-panel {
  background: #faf8f5;
  border: 2px solid #1a1a1a;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.15);
}

.sz-panel h2 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 8px;
}

.sz-panel p {
  margin: 0 0 12px;
  font-size: 0.92rem;
}

.sz-panel p:last-child { margin-bottom: 0; }

.sz-actions {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.sz-btn {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: #1a1a1a;
  color: #fff;
  border: 2px solid #1a1a1a;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sz-btn:hover { background: #333; color: #fff; }

.sz-btn--ghost {
  background: #faf8f5;
  color: #1a1a1a;
}

.sz-btn--ghost:hover {
  background: #ece8e2;
  color: #1a1a1a;
}

.sz-foot {
  text-align: center;
  margin-top: 28px;
  font-size: 0.78rem;
  color: #555;
}

.sz-foot a {
  color: #1a1a1a;
  text-decoration: underline;
}

.sz-redirect {
  text-align: center;
  padding: 48px 16px;
}

.sz-redirect p {
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.sz-redirect a {
  color: #1a1a1a;
  font-weight: bold;
}

.sz-form label {
  display: block;
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 0.85rem;
}

.sz-form label .req { color: #666; }

.sz-form input[type="text"],
.sz-form input[type="email"],
.sz-form input[type="tel"],
.sz-form input[type="number"],
.sz-form textarea,
.sz-form select {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid #333;
  background: #fff;
}

.sz-form textarea { min-height: 80px; resize: vertical; }

.sz-form .sz-btn { margin-top: 20px; }

.sz-form .sz-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.sz-msg {
  margin-top: 16px;
  padding: 12px;
  font-size: 0.9rem;
  display: none;
}

.sz-msg.ok { display: block; background: #e0e0e0; border: 1px solid #333; }
.sz-msg.err { display: block; background: #f5e0e0; border: 1px solid #8b0000; color: #5c0000; }

.sz-note {
  font-size: 0.8rem;
  color: #555;
  margin-top: 0;
}

.sz-greeting { font-size: 1rem; margin-bottom: 16px; }
.sz-greeting strong { letter-spacing: 0.05em; }

.sz-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.sz-table th, .sz-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #ccc; }
.sz-table th { font-weight: bold; text-transform: uppercase; letter-spacing: 0.05em; }

.sz-empty { color: #666; font-style: italic; padding: 16px 0; margin: 0; }

.sz-settlement-item { padding: 10px 0; border-bottom: 1px solid #e0e0e0; }
.sz-settlement-item:last-child { border-bottom: none; }

.sz-hidden { display: none !important; }

.sz-inline-msg { margin-top: 12px; padding: 8px 12px; font-size: 0.9rem; display: none; }
.sz-inline-msg.ok { display: block; background: #e0e0e0; border: 1px solid #333; }
.sz-inline-msg.err { display: block; background: #f5e0e0; border: 1px solid #8b0000; color: #5c0000; }

.sz-subhead {
  font-size: 0.95rem;
  margin: 20px 0 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sz-nav-back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: #555;
  text-decoration: underline;
}
