* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f0f10;
  color: #f4f4f5;
}

.site-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.nav a {
  color: #f4f4f5;
  text-decoration: none;
  opacity: 0.8;
}

.nav a[aria-current="page"] {
  opacity: 1;
  font-weight: 600;
}

.container {
  width: min(1000px, 92vw);
  margin: 1.5rem auto 3rem;
  display: grid;
  gap: 1rem;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
}

.panel {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 1rem;
}

.panel h1,
.panel h2 {
  margin: 0 0 0.5rem;
}

#today-events {
  margin: 0;
  line-height: 1.5;
}

.patch-notes {
  width: min(100%, 400px);
  margin: 0 auto;
  padding: 1rem;
  border-radius: 0.8rem;
  background: linear-gradient(180deg, #201712 0%, #161210 100%);
  border: 1px solid rgba(255, 149, 56, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(240, 195, 140, 0.12);
}

.patch-notes h2 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e6c7a3;
}

.patch-notes #today-events {
  margin: 0;
  color: #d9d1c7;
  font-size: 0.95rem;
  line-height: 1.55;
}

.patch-notes #today-events br {
  display: none;
}

.patch-notes #today-events strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #ff9538;
  text-shadow: 0 0 0 rgba(255, 149, 56, 0);
  transition: color 160ms ease, text-shadow 160ms ease;
}

.patch-notes:hover #today-events strong {
  color: #ffb469;
  text-shadow: 0 0 12px rgba(255, 149, 56, 0.4);
}

.event-lines {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.2rem;
}

.event-lines li {
  position: relative;
  padding-left: 0.85rem;
  margin: 0.2rem 0;
}

.event-lines li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: #f0c38c;
  box-shadow: 0 0 8px rgba(255, 149, 56, 0.35);
}

.patch-notes #today-events.is-ready {
  animation: fadeInEvent 420ms ease-out;
}

@keyframes fadeInEvent {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.schedule-list {
  display: grid;
  gap: 1rem;
}

.week-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255, 149, 56, 0.2);
  border-radius: 0.6rem;
  overflow: hidden;
  background: #151515;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.week-table caption {
  caption-side: top;
  text-align: left;
  padding: 0.6rem 0.1rem;
  font-weight: 700;
  color: #f0c38c;
  letter-spacing: 0.03em;
}

.week-table th,
.week-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
  text-align: left;
}

.week-table thead th {
  background: rgba(240, 195, 140, 0.08);
  color: #ecd7bd;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.week-table tbody tr:last-child td {
  border-bottom: 0;
}

.week-table td:first-child {
  width: 3.6rem;
  font-weight: 600;
  color: #e8dbcc;
}

.week-table .status-cell {
  width: 8.2rem;
}

.here-pill {
  display: inline-block;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 149, 56, 0.14);
  border: 1px solid rgba(255, 149, 56, 0.42);
  color: #ffb469;
  font-weight: 700;
  font-size: 0.78rem;
}

.week-table tr.current-day {
  background: rgba(255, 149, 56, 0.08);
}

@media (max-width: 480px) {
  .patch-notes {
    padding: 0.9rem;
    border-radius: 0.7rem;
  }

  .patch-notes h2 {
    font-size: 0.92rem;
  }

  .patch-notes #today-events strong {
    font-size: 1rem;
  }

  .week-table th,
  .week-table td {
    padding: 0.45rem 0.5rem;
  }

  .week-table .status-cell {
    width: 6.8rem;
  }
}
