@charset "UTF-8";

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
body {
  background-color: #030712;
  color: #cbd5e1;
  font-family: 'Pretendard', -apple-system, sans-serif;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  line-height: 1.5;
}
.mobile-screen-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: #080c14;
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 16px));
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.85);
  position: relative;
}
.mobile-touch-btn:active {
  transform: scale(0.96);
  transition: transform 0.08s ease-out;
}
.safe-bottom-area {
  padding-bottom: max(10px, env(safe-area-inset-bottom, 12px));
}
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(8, 12, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(39, 56, 84, 0.8);
  padding: 12px 16px;
  display: flex;
  align-items: center;
}
.back-btn {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background-color: #1e293b;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  margin-right: 12px;
  transition: transform 0.1s ease;
  flex-shrink: 0;
}
.back-btn:active {
  transform: scale(0.92);
}
.header-main-title {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.content-container {
  padding: 16px;
}
.service-tag-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  text-align: center;
  letter-spacing: -0.2px;
  word-break: keep-all;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.search-bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.search-input-box {
  position: relative;
  flex: 1;
}
.search-input {
  width: 100%;
  background-color: #0d1527;
  color: #ffffff;
  font-size: 12px;
  font-family: inherit;
  border-radius: 12px;
  padding: 10px 36px 10px 36px;
  border: 1px solid #273854;
  outline: none;
  transition: border-color 0.2s;
}
.search-input:focus {
  border-color: #22d3ee;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #64748b;
  pointer-events: none;
}
.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.search-submit-btn {
  flex-shrink: 0;
  height: 40px;
  padding: 0 16px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid #334155;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.2px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.08s ease;
}
.search-submit-btn:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: #475569;
  color: #ffffff;
}
.search-submit-btn:active {
  transform: scale(0.96);
}
.search-status-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 10px;
  padding: 7px 12px;
  margin-bottom: 12px;
  font-size: 11px;
}
.search-status-text {
  color: #cbd5e1;
}
.search-status-text strong {
  color: #22d3ee;
}
.reset-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.post-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post-card {
  display: block;
  background-color: #162032;
  border: 1px solid #273854;
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s ease, transform 0.08s ease;
}
.post-card:hover {
  border-color: #22d3ee;
}
.post-card:active {
  transform: scale(0.98);
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.badge {
  font-size: 10px;
  font-weight: 800;
  color: #22d3ee;
  background-color: rgba(6, 182, 212, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: -0.2px;
}
.date {
  font-size: 10px;
  color: #64748b;
}
.post-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.post-desc {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.55;
}
.empty-state {
  display: none;
  text-align: center;
  padding: 40px 18px 24px;
  background: #0d1527;
  border: 1px dashed #273854;
  border-radius: 16px;
  margin-top: 6px;
}
.empty-state .empty-icon {
  font-size: 30px;
  color: #64748b;
  margin-bottom: 10px;
  display: inline-block;
}
.empty-state h3 {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}
.empty-state p {
  font-size: 11px;
  color: #94a3b8;
}
#smsModal.hidden, #customToast.hidden {
  display: none !important;
}