.lost-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.lost-header h1,
.lost-form-title {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 48px);
  color: #172554;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.lost-header p,
.lost-form-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.lost-write-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  background: var(--primary);
  color: white;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(59, 91, 219, 0.22);
  white-space: nowrap;
}

.lost-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.lost-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition: 0.18s;
  white-space: nowrap;
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--primary);
  color: white;
}

.lost-search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lost-search-form input {
  width: 260px;
  padding: 11px 13px;
  border: 1px solid #d1d5db;
  border-radius: 13px;
  outline: none;
  font-size: 14px;
}

.lost-search-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 91, 219, 0.12);
}

.lost-search-form button,
.reset-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 13px;
  border: none;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.lost-search-form button {
  background: var(--primary);
  color: white;
}

.reset-search {
  background: #f3f4f6;
  color: #6b7280;
}

.lost-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.lost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  transition: 0.18s;
}

.lost-row:hover {
  transform: translateY(-3px);
  border-color: #c7d2fe;
}

.lost-row-meta,
.lost-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lost-row-meta span,
.lost-detail-meta span {
  padding: 6px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.lost-row h2 {
  margin: 10px 0 6px;
  font-size: 21px;
  color: #172554;
  line-height: 1.35;
}

.lost-row p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.lost-row strong {
  color: var(--primary);
  white-space: nowrap;
}

.lost-form {
  margin-top: 30px;
  padding: 30px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.lost-form label {
  display: block;
  margin-bottom: 22px;
  font-weight: 900;
  color: #374151;
}

.lost-form input,
.lost-form textarea {
  width: 100%;
  margin-top: 9px;
  padding: 14px 15px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  font-size: 16px;
  background: #fbfdff;
  outline: none;
}

.lost-form input:focus,
.lost-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 91, 219, 0.12);
  background: white;
}

.lost-form textarea {
  resize: vertical;
  min-height: 200px;
}

.lost-form button {
  width: 100%;
  min-height: 50px;
  padding: 15px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(59, 91, 219, 0.22);
}

.lost-detail-card {
  padding: 34px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.lost-detail-header {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.lost-detail-header h1 {
  margin: 16px 0;
  font-size: clamp(30px, 5vw, 46px);
  color: #172554;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.lost-detail-content {
  margin-top: 26px;
  white-space: pre-wrap;
  line-height: 1.85;
  color: #374151;
  font-size: 17px;
}

.error-box {
  margin-top: 20px;
  padding: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 14px;
  color: #b91c1c;
  font-weight: 800;
}

/* ==============================
   Tablet
============================== */
@media (max-width: 850px) {
  .lost-header,
  .lost-tools,
  .lost-row {
    flex-direction: column;
    align-items: stretch;
  }

  .lost-search-form {
    width: 100%;
  }

  .lost-search-form input {
    flex: 1;
    width: auto;
  }

  .lost-write-button {
    width: 100%;
  }
}

/* ==============================
   Mobile
============================== */
@media (max-width: 650px) {
  .lost-header {
    gap: 16px;
  }

  .lost-header h1,
  .lost-form-title {
    font-size: clamp(32px, 10vw, 42px);
  }

  .lost-header p,
  .lost-form-desc {
    font-size: 15px;
  }

  .lost-write-button {
    min-height: 48px;
    padding: 14px 18px;
  }

  .lost-tools {
    gap: 14px;
    margin-top: 20px;
    padding: 16px;
    border-radius: 20px;
  }

  .lost-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .lost-filter::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex-shrink: 0;
    font-size: 13px;
  }

  .lost-search-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .lost-search-form input,
  .lost-search-form button,
  .reset-search {
    width: 100%;
    min-height: 46px;
    font-size: 16px;
    border-radius: 14px;
  }

  .lost-list {
    margin-top: 22px;
  }

  .lost-row {
    align-items: flex-start;
    padding: 18px;
    border-radius: 17px;
  }

  .lost-row h2 {
    font-size: 19px;
  }

  .lost-row strong {
    margin-top: 4px;
  }

  .lost-row-meta span,
  .lost-detail-meta span {
    border-radius: 13px;
    line-height: 1.4;
  }

  .lost-detail-card,
  .lost-form {
    padding: 24px;
    border-radius: 22px;
  }

  .lost-detail-header h1 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .lost-detail-content {
    font-size: 16px;
    line-height: 1.8;
  }
}

@media (max-width: 430px) {
  .lost-tools,
  .lost-row,
  .lost-form,
  .lost-detail-card {
    padding: 20px;
  }
}

/* ==============================
   v1.2.1 Mobile Lost Items Redesign
============================== */
@media (max-width: 650px) {
  .lost-header h1,
  .lost-form-title {
    font-size: clamp(30px, 10vw, 38px);
  }

  .lost-write-button {
    background: #2563eb;
    box-shadow: none;
    border-radius: 16px;
  }

  .lost-tools {
    padding: 14px;
    border-radius: 18px;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.045);
  }

  .filter-chip {
    background: white;
    border: 1px solid #e5e7eb;
  }

  .filter-chip.active {
    border-color: var(--primary);
  }

  .lost-row,
  .lost-form,
  .lost-detail-card {
    border-radius: 18px;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.045);
  }

  .lost-row:hover {
    transform: none;
  }

  .lost-form input,
  .lost-form textarea,
  .lost-form button {
    border-radius: 15px;
  }

  .lost-form button {
    background: #2563eb;
    box-shadow: none;
  }
}