body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
  }

  .container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  h1 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .current-user-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #e6f0ff;
    border: 1px solid #007bff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
  }

  .current-user-rank-label {
    font-size: 1em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
  }

  .current-user-rank {
    font-size: 2em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
  }

  .current-user-box img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }

  .info-message {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    text-align: center;
    padding: 10px 0;
  }

  table {
    width: 100%;
    border-collapse: collapse;
  }

  thead {
    background: #007bff;
    color: white;
  }

  th, td {
    padding: 10px;
    text-align: left;
  }

  tbody tr:nth-child(even) {
    background: #f9f9f9;
  }

  .profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    vertical-align: middle;
  }

  .user-cell {
    display: flex;
    align-items: center;
  }

  @media (max-width: 480px) {
    th, td {
      font-size: 0.9em;
      padding: 8px;
    }
  }

  @media (prefers-color-scheme: dark) {
    body {
      background: #121212;
      color: #e0e0e0;
    }

    .container {
      background: #1e1e1e;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    }

    thead {
      background: #2196f3;
      color: #fff;
    }

    tbody tr:nth-child(even) {
      background: #2c2c2c;
    }

    .current-user-box {
      background: #1a2a40;
      border-color: #2196f3;
    }

    .current-user-rank, .current-user-rank-label {
      color: #64b5f6;
    }

    .info-message {
      color: #ccc;
    }

    .share-button {
      background: #8461B3;
    }
    
    .share-button:hover {
      background: #6f4f94;
    }
  }

  .rewards-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
  }

  .form-group textarea {
    min-height: 100px;
    resize: vertical;
  }

  #submit-btn {
    width: 100%;
    padding: 1rem;
    background: #8461B3;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
  }

  #submit-btn:hover {
    background: #6f4f94;
  }

  #submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
  }

  .status-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
  }

  .share-button {
    margin-top: 15px;
    padding: 12px 24px;
    background: #8461B3;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 80%;
    max-width: 300px;
  }

  .share-button:hover {
    background: #6f4f94;
  }
  