tml, body {
      font-family: sans-serif;
      background: url('https://ainamachi.neocities.org/Assets/20250725-bg-1.jpg') no-repeat center top;
      background-repeat: no-repeat;
      background-size: 100vw;
      background-position: center;
      background-attachment: fixed;
  }
  
 .background-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('https://ainamachi.neocities.org/Assets/20250725-bg-1.jpg') no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  filter: blur(8px);
  -webkit-filter: blur(8px);
  z-index: -1;
}

h1 {
  font-size: 6rem;
  line-height: 1.1;
}
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 99;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;

  padding: 20px 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  backdrop-filter: blur(12px);

  max-width: 1000px; /* Set a limit so it doesn’t stretch too wide */
  margin: 0 auto;     /* Center it horizontally */
  width: 100%;
  box-sizing: border-box;
}
.header-left h1 {
    font-size: 2rem;
    margin: 0;
    color: #ffffff;
    filter: drop-shadow(12px 12px 12px #808080);
    position: sticky;
  }
  
/* Main content */
    .content {
      margin-left: 25px;
      padding: 20px;
      width: 100%;
      position: relative;
      z-index: 1;
    }
    
    .filter-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 10px;
}

@media screen and (max-width: 828px), screen and (max-device-width: 828px), screen and (orientation: portrait) {
  .filter-toggle {
    display: block;
  }
  .sticky-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-content {
    display: none;
    flex-direction: column;
    position: sticky;
    gap: 18px;
    margin-top: 10px;
  }

  .filter-buttons.open .filter-content {
    display: flex;
  }
}
    

.filter-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  max-width: 600px;
  flex-wrap: wrap;
  overflow: hidden;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
body {
  overflow-x: hidden;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}


.filter-label {
  font-size: 1.2rem;
  font-weight: 500;
  min-width: 60px;
  color: #ffffff;
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-buttons button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  gap: 3px;
  background-color: rgba(200, 200, 200, 0.8);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-buttons button:hover {
  background-color: rgba(160, 160, 255, 0.6);
  transform: translateY(-1px);
}

.wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}


.update-card {
  display: flex;
  flex-wrap: wrap;           /* Allow wrap on small screens */
  background: white;
  margin: 1rem auto;
  padding: 1rem;
  border-radius: 12px;
  max-width: 600px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  gap: 1rem;
}

.date-block {
  width: 100px;
  text-align: center;
  
  padding-right: 1rem;
  font-family: monospace;

}
.date-block {
  width: 75px;
  text-align: center;
  padding-right: 1rem;
  background: #fffded;
  background: linear-gradient(180deg, rgba(255, 253, 237, 1) 1%, rgba(206, 215, 237, 1) 84%, rgba(237, 229, 221, 1) 100%);
  font-family: monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  border-radius: 12px;
}

.date-block .year {
  font-size: 1.5rem;
  color: #999;
}

.date-block .month {
  font-size: 1.75rem;
  font-weight: bold;
  margin: 0.15rem 0;
}

.date-block .day {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.1;
}

.date-block .weekday {
  font-size: 1.5rem;
  color: #666;
}
.update-main {
  flex: 1;
  padding-left: 1rem;
}
.update-title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  display: flex;
  color: white;
  flex-wrap: wrap;           /* Allow wrap on small screens */
  background: #bddaf2;
  background: linear-gradient(153deg, rgba(189, 218, 242, 1) 0%, rgba(151, 160, 194, 1) 84%, rgba(207, 230, 202, 1) 100%);
  padding: 1rem;
  border-radius: 12px;
  max-width: 600px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  gap: 1rem;
}
.tags {
  margin-bottom: 1rem;
}
.tag {
  background: #eee;
  padding: 0.2rem 0.5rem;
  margin: 0 0.25rem 0.25rem 0;
  display: inline-block;
  font-size: 0.75rem;
  border-radius: 4px;
}
.update-content {
  margin-bottom: 0.5rem;
}
.preview-img {
  width: 300px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-top: 0.5rem;
}

.thumbnail-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.modal-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s ease;
}
.modal-thumb:hover {
  border: 2px solid #999;
}

.read-more {
  display: flex;
  position: relative;
  color: white;
  flex-wrap: wrap;           /* Allow wrap on small screens */
  background: #bddaf2;
  background: linear-gradient(153deg, rgba(189, 218, 242, 0.5) 0%, rgba(151, 160, 194, 0.5) 84%, rgba(207, 230, 202, 0.5) 100%);
  padding: 0.25rem;
  border: none;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  gap: 1rem;
  cursor: pointer;
  font-weight: bold;
}

/* Modal */
#modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}
#modalContent h2 {
    margin: 0 0 0.5rem;
  font-size: 1.75rem;
  display: flex;
  color: white;
  flex-wrap: wrap;           /* Allow wrap on small screens */
  background: #bddaf2;
  background: linear-gradient(153deg, rgba(189, 218, 242, 1) 0%, rgba(151, 160, 194, 1) 84%, rgba(207, 230, 202, 1) 100%);
  padding: 1rem;
  border-radius: 12px;
  max-width: 600px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  gap: 1rem;
}

#modalContent {
  background: white;
  padding: 2rem;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 12px;
  box-shadow: 0 0 16px rgba(0,0,0,0.2);
}
.modal-img {
  width: 100%;
  margin: 1rem 0;
  border-radius: 8px;
}
.modal-date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
}