 html, body {
    height: 100%;
  }
  body {
    display: flex;
    flex-direction: column;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
  }
  #dave-btn {
    font-size: 1.5rem;
    padding: 1rem 3rem;
    border-radius: 3rem;
  }
  #dave-btn:disabled {
    opacity: 0.7;
  }
  #dice {
    display: none;
    margin-top: 2rem;
    font-size: 4rem;
    line-height: 1;
    min-height: 4.5rem;
  }
  #dice.rolling {
    display: block;
    animation: dice-roll 0.5s linear infinite;
  }
  @keyframes dice-roll {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
  }
  #result {
    margin-top: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    min-height: 3.5rem;
  }
  .result-yes {
    color: #dc3545;
  }
  .result-no {
    color: #198754;
  }
  .theme-toggle-btn {
    border: none;
    background: transparent;
    font-size: 1.25rem;
    line-height: 1;
  }