    body { font-family: sans-serif; margin: 0; padding-bottom: 60px; }
    main { padding: 1rem; }
    section { margin-bottom: 2rem; }
    button, select, textarea {
      display: block;
      width: 100%;
      margin-top: 0.5rem;
      padding: 0.75rem;
      font-size: 1rem;
    }
    textarea { resize: vertical; }
    .tabbar {
      position: fixed;
      bottom: 0; left: 0; right: 0;
      display: flex;
    }
    .tabbar button {
      flex: 1;
      margin: 0;
      border: none;
      border-right: 1px solid;
      background: #eee;
    }
    .hidden { display: none; }
    pre { padding: 1rem; white-space: pre-wrap; }

    #logList {
  list-style: none;
  padding: 0;
}

#logList li {
  background: #f9f9f9;
  margin-bottom: 0.5rem;
  padding: 0.75rem;
  border-left: 4px solid;
  border-radius: 4px;
}

#endSection {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

#endSection h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

#feedback {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 6px;
  resize: vertical;
}

#endSection .button-row {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

#endSection .button-row button {
  flex: 1;
  padding: 0.75rem;
  margin: 0 0.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#endSection .button-row button:first-child {
  background-color: #eee;
  color: #333;
}

#endSection .button-row button:last-child {
  background-color: #2ecc71;
  color: white;
}


.log-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.log-cards .log-card {
  background: #fff;
  border: 1px solid;
  border-left: 4px solid #2ecc71;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  animation: cardFadeIn 0.3s ease;
}

.log-cards .log-card:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  position: relative;
}

.modal-content h2 {
  margin-top: 0;
}

.modal-content ul {
  list-style: none;
  padding-left: 0;
}

.modal-content li {
  margin: 0.25rem 0;
}

.modal-content button {
  margin-top: 1rem;
  width: 100%;
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.modal-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

  body {
    background-color: #121212;
    color: #f0f0f0;
  }

  main {
    background-color: #121212;
  }

  button, select, textarea {
    background-color: #1e1e1e;
    color: #f0f0f0;
    border: 1px solid #444;
  }

  .tabbar {
    background-color: #1e1e1e;
    border-top: 1px solid #333;
  }

  .tabbar button {
    background-color: #1e1e1e;
    border-right: 1px solid #333;
    color: #f0f0f0;
  }

  pre {
    background-color: #2a2a2a;
  }

  #logList li,
  .log-cards .log-card {
    background: #1e1e1e;
    border: 1px solid #444;
    border-left: 4px solid #44d88d;
  }

  #endSection {
    background: #1e1e1e;
    color: #f0f0f0;
  }

  #feedback {
    background-color: #1e1e1e;
    color: #f0f0f0;
    border: 1px solid #444;
  }

  #endSection .button-row button:first-child {
    background-color: #333;
    color: #ccc;
  }

  .modal-content {
    background: #1e1e1e;
    color: #f0f0f0;
  }

  .modal-content button {
    background-color: #44d88d;
  }

  .modal-content .close {
    color: #ccc;
  }

@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 600px) {
  body {
    font-size: 16px;
    padding: 1rem;
  }

  main > div {
    padding: 1rem;
  }

  button, select, textarea {
    width: 100%;
    font-size: 1rem;
  }

  .tabbar {
    flex-direction: column;
  }

  .log-card {
    font-size: 1rem;
    padding: 1rem;
  }

  .modal-content {
    width: 90%;
    padding: 1rem;
  }

  #endSection .button-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  #endSection .button-row button {
    width: 100%;
  }
}

#toast {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2ecc71;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

#toast.show {
  opacity: 1;
  pointer-events: auto;
}