
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f5 url("background.png") center/cover fixed no-repeat;
  color: #111827;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.navbar {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: #111827;
  font-weight: 500;
}

.nav-links a.active {
  color: #065f46;
}

.page {
  max-width: 980px;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem 2rem;
}

.card {
  background: rgba(255,255,255,0.98);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 18px 45px rgba(15,23,42,0.09);
  margin-bottom: 1.25rem;
}

.card h1,
.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.card p {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(15,23,42,0.15);
}

.btn-green {
  background: #16a34a;
  color: #ffffff;
}

.btn-blue {
  background: #2563eb;
  color: #ffffff;
}

.btn-orange {
  background: #ea580c;
  color: #ffffff;
}

.btn-ghost {
  background: rgba(255,255,255,0.95);
  color: #111827;
  border: 1px solid #e5e7eb;
  box-shadow: none;
}

.btn:hover {
  filter: brightness(1.03);
}

.footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #374151;
}

.signup-frame {
  width: 100%;
  max-width: 480px;
  border: none;
  height: 260px;
}

#map {
  width: 100%;
  height: 480px;
  border-radius: 0.75rem;
  overflow: hidden;
}

.tagger-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 1rem;
}

@media (max-width: 800px) {
  .tagger-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .navbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.tag-list {
  max-height: 360px;
  overflow: auto;
  padding-right: 0.5rem;
  font-size: 0.85rem;
}

.tag-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 0.5rem 0;
}

.tag-item:last-child {
  border-bottom: none;
}

.small {
  font-size: 0.85rem;
  color: #4b5563;
}

.admin-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.admin-form input {
  padding: 0.45rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
}

.notice {
  font-size: 0.85rem;
  color: #4b5563;
}
