/* src/pages/public/styles.css */
:root {
  --bg: #fdf7f0;
  --card: #ffffff;
  --ink: #3d3450;
  --ink-soft: #4f4a5e;
  --brand: #c2255c;
  --brand-deep: #a61e4d;
  --accent: #5235ab;
  --accent-soft: #efeafd;
  --line: #f0e4d8;
  --field-border: #958d86;
  --boop: #ffb3c6;
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    "Avenir Next",
    "Nunito",
    "Segoe UI",
    system-ui,
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--brand-deep);
  color: #fff;
  border-radius: 0 0 6px 6px;
  transition: top 0.15s ease-in-out;
}
.skip-link:focus {
  top: 0;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 24px;
  background: var(--card);
  border-bottom: 2px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-deep);
}
.brand:hover {
  text-decoration: none;
}
.topnav nav {
  display: flex;
  gap: 16px;
  flex: 1;
}
.topnav nav a {
  font-weight: 600;
  color: var(--ink-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.topnav nav a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}
.nav-session {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-handle {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 14px;
}
.demo-badge {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 11px;
  padding: 1px 8px;
  vertical-align: middle;
}
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}
.page-wide {
  max-width: 960px;
}
.footer {
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  padding: 24px;
  border-top: 2px solid var(--line);
  background: var(--card);
}
h1 {
  font-size: 28px;
  margin: 0 0 4px;
}
h2 {
  font-size: 20px;
  margin: 28px 0 12px;
}
h3 {
  font-size: 16px;
  margin: 18px 0 8px;
}
.subtitle {
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.btn,
button {
  font: inherit;
  font-weight: 700;
  border: none;
  background: var(--brand);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-block;
}
.btn:hover,
button:hover {
  background: var(--brand-deep);
  text-decoration: none;
}
.btn-quiet {
  background: transparent;
  color: var(--ink-soft);
  border: 2px solid var(--field-border);
  padding: 6px 14px;
}
.btn-quiet:hover {
  background: var(--accent-soft);
  color: var(--ink);
}
.btn-accent {
  background: var(--accent);
}
.btn-accent:hover {
  background: #3f2985;
}
.inline-form {
  display: inline;
}
.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  text-decoration: underline;
  padding: 0;
  font-weight: 600;
  cursor: pointer;
}
.btn-link:hover {
  background: none;
  color: var(--ink);
}
input[type=text],
input[type=date],
textarea,
select {
  font: inherit;
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--field-border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--brand);
}
label {
  font-weight: 700;
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}
.field {
  margin-bottom: 14px;
}
.form-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.checkbox-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
}
.checkbox-label input[type=checkbox] {
  width: auto;
}
.card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.flash {
  background: #e7f9ee;
  border: 2px solid #b5e8c9;
  color: #175f35;
  border-radius: var(--radius);
  padding: 12px 18px;
  margin-bottom: 16px;
  font-weight: 600;
}
.flash-error {
  background: #fdecec;
  border-color: #f5c2c2;
  color: #902828;
}
.pet-avatar {
  border-radius: 50%;
  object-fit: cover;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.pet-avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 20px;
}
.pet-avatar-lg {
  width: 96px;
  height: 96px;
  font-size: 56px;
}
.avatar-edit-form {
  display: contents;
}
.avatar-edit {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  cursor: pointer;
}
.avatar-edit-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  border-radius: 50%;
  background: rgba(61, 52, 80, 0.9);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}
.avatar-edit:hover .avatar-edit-overlay,
.avatar-edit:focus-within .avatar-edit-overlay {
  opacity: 1;
}
.avatar-edit:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.pet-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 2px 12px 2px 2px;
}
.pet-chip:hover {
  text-decoration: none;
  background: #e2d9fb;
}
.post-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.post-media {
  width: 100%;
  display: block;
  max-height: 460px;
  object-fit: cover;
}
.post-body {
  padding: 14px 18px 16px;
}
.post-authors {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.post-authors .with {
  color: var(--ink-soft);
  font-size: 14px;
}
.post-time {
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 13px;
}
.post-caption {
  margin: 10px 0;
  white-space: pre-wrap;
}
.post-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.boop-btn {
  background: #fff;
  border: 2px solid var(--boop);
  color: var(--brand-deep);
  border-radius: 999px;
  padding: 5px 14px;
  font-weight: 700;
  cursor: pointer;
}
.boop-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  text-decoration: none;
}
.boop-btn.booped {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.comments-tbd {
  color: var(--ink-soft);
  font-size: 14px;
}
.pet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.pet-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 12px 14px;
  text-align: center;
}
.pet-card-main {
  color: var(--ink);
  display: block;
}
.pet-card-main:hover {
  text-decoration: none;
}
.pet-card-name {
  font-weight: 800;
  margin-top: 8px;
}
.pet-card-species {
  color: var(--ink-soft);
  font-size: 13px;
}
.pet-card form,
.pet-card .btn {
  margin-top: 10px;
}
.profile-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.profile-header .pet-avatar-lg {
  width: 120px;
  height: 120px;
  font-size: 72px;
}
.profile-info {
  flex: 1;
}
.profile-info h1 {
  margin-bottom: 0;
}
.profile-meta {
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 8px;
}
.profile-bio {
  margin: 8px 0;
}
.profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  align-items: center;
}
.profile-qr {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
}
.profile-qr img {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  border: 2px solid var(--line);
  display: block;
  margin-bottom: 4px;
}
.memorial-banner {
  background: #eef1fb;
  border: 2px solid #c8d0f0;
  color: #434d83;
  border-radius: var(--radius);
  padding: 12px 18px;
  margin-bottom: 16px;
  font-weight: 600;
  text-align: center;
}
.memorial .profile-header,
.pet-card.memorial {
  background: #f6f7fd;
  border-color: #c8d0f0;
}
.memorial .pet-avatar {
  filter: grayscale(0.4);
}
.hint {
  color: var(--ink-soft);
  font-size: 13px;
}
.compat-hint {
  background: #fff8e1;
  border: 2px solid #ffe9a8;
  border-radius: 999px;
  display: inline-block;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #685214;
}
.friend-list,
.request-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.request-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.empty-state {
  text-align: center;
  color: var(--ink-soft);
  padding: 40px 16px;
  background: var(--card);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
}
.demo-note {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.hero {
  text-align: center;
  padding: 36px 16px 28px;
}
.hero h1 {
  font-size: 40px;
}
.hero p {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 480px;
  margin: 8px auto 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*# sourceMappingURL=styles.css.map */