body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin-top: 50px;
    background: #2e261d;
    color: #e3d7b9;
  }
  
  #datetime {
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px #000;
  }
  div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
  }
  
  button {
    padding: 10px;
    border-radius: 12px;
    border: none;
    background-color: #4b3a2f;
    color: #f3e6c9;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 2px 2px 4px #000;
  }
  
  button:hover {
    background-color: #6b5240;
  }
  form {
    margin-bottom: 20px;
  }
  
  #effectsList {
    display: block;                /* Use block layout instead of flex */
    text-align: left;              /* Ensure text is aligned left */
    padding: 10px;
    border: 2px solid ;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
  
  
    /* Scrollable effect */
    max-height: 200px;  /* Approx. 5 items tall */
    overflow-y: auto;
    scrollbar-width: thin;
  }
  #effectsList::-webkit-scrollbar {
    width: 6px;
  }
  
  #effectsList::-webkit-scrollbar-thumb {
    border-radius: 3px;
  }
    
  
  
  #toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
  }
  
  .toast {
    background: #4b3a2f;
    color: #f3e6c9;
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 2px 2px 8px #000;
    animation: fadein 0.3s;
  }
  
  /* Optional: fade-in animation */
  @keyframes fadein {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
  }
  
  .modal-backdrop.active {
    display: flex;
  }
  
  .modal-content {
    background: #3a2e24;
    border: 2px solid #6b5240;
    padding: 20px;
    color: #f3e6c9;
    max-width: 400px;
    width: 90%;
    border-radius: 8px;
  }

  #commandButtons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px auto;
    max-width: 800px;
  }

  .kofi-sticky-button {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;                 /* distance from bottom */
  transform: translateX(-50%);
  z-index: 9999;

  background: #ff5f5f;            /* Ko-fi style red */
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;           /* pill shape */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
              opacity 0.2s ease;
}

/* Hover / focus styles */
.kofi-sticky-button:hover,
.kofi-sticky-button:focus-visible {
  background: #ff7373;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%) translateY(-2px);
}

/* Active (click) state */
.kofi-sticky-button:active {
  transform: translateX(-50%) translateY(1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Small screens: slightly smaller button */
@media (max-width: 600px) {
  .kofi-sticky-button {
    font-size: 0.85rem;
    padding: 0.6rem 1.3rem;
    bottom: 1rem;
  }
}

  
    
    
  
  