@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;700&display=swap";

/* react/src/index.css */
:root {
  color-scheme: light;
  font-family:
    "Plus Jakarta Sans",
    "Noto Sans KR",
    system-ui,
    sans-serif;
  line-height: 1.5;
  font-weight: 400;
  background-color: #f5f7fb;
  color: #0f172a;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(
      900px at 20% -10%,
      rgba(99, 102, 241, 0.2),
      transparent 60%),
    radial-gradient(
      800px at 90% 10%,
      rgba(14, 165, 233, 0.22),
      transparent 55%),
    #f5f7fb;
}
a {
  color: inherit;
  text-decoration: none;
}
.app {
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
}
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.header-inner nav {
  display: none;
  gap: 1rem;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.7);
}
.cta {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 24px -18px rgba(37, 99, 235, 0.6);
}
.menu-button {
  border: none;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
}
.menu-panel {
  display: grid;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.menu-panel a {
  font-weight: 600;
}
.share-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 16px 30px -18px rgba(37, 99, 235, 0.6);
  cursor: pointer;
  z-index: 40;
}
.toast {
  position: fixed;
  right: 1.5rem;
  bottom: 5.2rem;
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  z-index: 40;
}
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
  display: grid;
  gap: 2.5rem;
}
.lead {
  color: rgba(15, 23, 42, 0.7);
  font-size: 1.05rem;
}
.section {
  display: grid;
  gap: 1.5rem;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: #6366f1;
  font-weight: 600;
}
.pill {
  align-self: flex-start;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  font-weight: 600;
}
.filter-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.filter-shell {
  display: grid;
  gap: 0.8rem;
}
.filter-toggle {
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  cursor: pointer;
}
.filter-panel label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.filter-panel input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  font-family: inherit;
}
.date-range {
  display: grid;
  gap: 0.6rem;
}
.date-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}
.date-inputs span {
  color: rgba(15, 23, 42, 0.6);
  font-weight: 600;
}
.range-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.range-buttons button {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.filter-reset {
  border: none;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-weight: 600;
  cursor: pointer;
}
.filter-apply {
  border: none;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.list-grid {
  display: grid;
  gap: 1rem;
}
.list-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 30px -24px rgba(15, 23, 42, 0.25);
  color: inherit;
  text-decoration: none;
}
.list-card h3 {
  margin: 0;
  font-size: 1.2rem;
}
.list-card p {
  margin: 0.2rem 0 0;
  color: rgba(15, 23, 42, 0.7);
}
.list-card .date {
  display: grid;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.6);
}
.list-card .link {
  font-weight: 600;
  color: #2563eb;
}
.listing-section {
  display: grid;
  gap: 0.8rem;
}
.listing-grid {
  display: grid;
  gap: 0.8rem;
}
.listing-card {
  display: grid;
  gap: 0.6rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: inherit;
  text-decoration: none;
}
.listing-card h3 {
  margin: 0;
  font-size: 1.05rem;
}
.listing-card p {
  margin: 0.3rem 0 0;
  color: rgba(15, 23, 42, 0.6);
  font-size: 0.9rem;
}
.listing-meta {
  display: grid;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.6);
}
.listing-meta strong {
  color: #0f172a;
  font-size: 0.95rem;
}
.list-more {
  margin-top: 0.6rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  border-radius: 12px;
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
}
.past-section {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
}
.empty {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.6);
  font-size: 0.9rem;
}
.detail {
  padding-top: 1rem;
}
.back {
  color: rgba(15, 23, 42, 0.6);
  font-weight: 600;
}
.detail-card {
  padding: 2rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 40px -30px rgba(15, 23, 42, 0.3);
  display: grid;
  gap: 1.8rem;
}
.detail-head {
  display: grid;
  gap: 1rem;
}
.detail-head h2 {
  margin: 0.4rem 0 0.3rem;
}
.ratio {
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: #f1f5ff;
  color: #1d4ed8;
  font-weight: 700;
  display: grid;
  gap: 0.2rem;
}
.detail-grid {
  display: grid;
  gap: 1rem;
}
.detail-grid p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.6);
}
.detail-grid strong {
  font-size: 1rem;
}
.comment-box {
  display: grid;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.comment-list {
  display: grid;
  gap: 0.7rem;
}
.comment-item {
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 0.4rem;
}
.comment-item p {
  margin: 0;
  font-weight: 600;
}
.comment-item span {
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.6);
}
.news-section {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
}
.news-list {
  display: grid;
  gap: 0.8rem;
}
.news-card {
  display: grid;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.news-card h4 {
  margin: 0;
  font-size: 1rem;
}
.news-card p {
  margin: 0;
  color: rgba(15, 23, 42, 0.65);
  font-size: 0.9rem;
}
.news-card span {
  font-size: 0.8rem;
  color: rgba(15, 23, 42, 0.55);
}
.loading {
  padding: 2rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.05);
  text-align: center;
  color: rgba(15, 23, 42, 0.7);
}
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}
.app-ready [data-animate] {
  animation-delay: 0.1s;
}
@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 900px) {
  .header-inner nav {
    display: flex;
  }
  .menu-button {
    display: none;
  }
  .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .list-card {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.4fr) auto;
    align-items: center;
  }
  .listing-card {
    grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 0.4fr));
    align-items: center;
  }
  .detail-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.4fr);
    align-items: center;
  }
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }
  .filter-reset {
    grid-column: span 3;
    justify-self: start;
  }
  .filter-apply {
    grid-column: span 3;
    justify-self: start;
  }
  .date-range {
    grid-column: span 3;
  }
}
