  *::-webkit-scrollbar {
    display: none;
  }
  body, html {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background: #fafafa;
    color: #222;
  }
  div#hooks-app-container {
    z-index: 200;
    height: 100vh;
    width: 100%;
    position: fixed;
    padding: 1em;
    top: 0;
    left: 0;
    overflow-y: hidden;
    background: #ffffff54;
    backdrop-filter: blur(10px);
    display: block;
}
.hooks {
    overflow-y: scroll !important;
    height: 100%;
}
  .filter-group {
    display: flex;
    gap: 1em;
    margin-bottom: 1.5em;
    flex-wrap: wrap;
  }
  .filter-radio {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    font-size: 1rem;
    color: #444;
    display: inline-flex;
    align-items: center;
  }
  .filter-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  .filter-radio .checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
    border: 2px solid #ccc;
    transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  .filter-radio:hover .checkmark {
    border-color: #9917f1;
  }
  .filter-radio input:checked ~ .checkmark {
    background: linear-gradient(120deg, #f6513a, #9917f1);
    border-color: transparent;
  }
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  .filter-radio input:checked ~ .checkmark:after {
    display: block;
  }
  .filter-radio .checkmark:after {
    left: 6px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
  }
  .start-hooks {
    width: 100%;
    height: 2.8em;
    border-radius: 0.6em;
    border: none;
    background: linear-gradient(120deg, #f6513a, #9917f1);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 2em;
  }
  .start-hooks:hover,
  .start-hooks:focus {
    background: linear-gradient(120deg, #e03e2f, #7a0dbf);
    outline: none;
  }
  .hooks-list {
    margin-top: 0;
  }
  .hooks-listing {
    border-radius: 1em;
    padding: 1.2em 1.5em 1.5em 1.5em;
    margin-bottom: 2.5em;
    display: flex;
    flex-direction: column;
  }
  .hooks-user {
    display: flex;
    align-items: center;
    gap: 0.8em;
  }
  .hooks-profile-img {
    height: 3.2em;
    width: 3.2em;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2.5px solid #9917f1;
    flex-shrink: 0;
  }
  .hooks-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .hooks-user-details {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
  }
  .hooks-user-details b {
    font-size: 1.1rem;
    color: #222;
  }
  .hooks-activity {
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
  }
  .hooks-caption {
    color: #333;
    margin: 0.7em 0 0 0;
    font-size: 0.95rem;
    line-height: 1.5em;
  }
  .hooks-caption p {
    margin-bottom: 0.6em;
  }
  .hooks-caption p b {
    font-weight: 700;
    color: #9917f1;
  }
  .hooks-carousel {
    white-space: nowrap;
    margin: 1.2em 0 1.5em 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .hooks-media {
    display: inline-flex;
    height: 250px;
    justify-content: center;
    align-items: center;
    width: 200px;
    overflow: hidden;
    border-radius: 1em;
    margin-right: 1em;
    background: #eee;
    flex-shrink: 0;
  }
  .hooks-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
  }
  .hooks-media:hover img,
  .hooks-media:focus-within img {
    transform: scale(1.05);
  }
  .unlock-hook {
    background: #9917f1;
    color: #fff;
    border: none;
    height: 3.2em;
    width: 100%;
    border-radius: 1em;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .unlock-hook:hover,
  .unlock-hook:focus {
    background: #7a0dbf;
    outline: none;
  }

  /* Floating plus button with shimmer effect, no box shadow */
  .floating-plus {
    position: fixed;
    bottom: 5rem !important;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #9917f1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    user-select: none;
    animation: floating-shimmer 2.5s infinite;
    z-index: 1000;
    border: none;
    outline: none;
  }
  @keyframes floating-shimmer {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0);
    }
  }

  #modalOverlay.modal-overlay {
    position: fixed;
    /* inset: 0; */
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
}
  #modalOverlay.modal-overlay.active {
    display: flex;
  }
  .modal {
    background: white;
    border-radius: 1em;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5em 2em 2em 2em;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    position: relative;
  }
  .modal h2 {
    font-size: 1.5rem;
    margin-bottom: 1em;
    color: #9917f1;
    text-align: center;
  }
  .modal label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3em;
    color: #444;
  }
  .modal textarea,
  .modal select {
    width: 100%;
    border-radius: 0.5em;
    border: 1.5px solid #ccc;
    padding: 0.5em;
    font-size: 1rem;
    margin-bottom: 1em;
    resize: vertical;
    font-family: inherit;
  }
  .modal textarea:focus,
  .modal select:focus {
    outline: none;
    border-color: #9917f1;
    box-shadow: 0 0 5px #9917f1;
  }
  .modal .gender-group {
    display: flex;
    gap: 1em;
    margin-bottom: 1em;
  }
  .modal .gender-group label {
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3em;
  }
  .modal .gender-group input[type="radio"] {
    cursor: pointer;
  }
  .modal .buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1em;
  }
  .modal button {
    background: linear-gradient(120deg, #f6513a, #9917f1);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6em 1.2em;
    border-radius: 0.6em;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .modal button:hover,
  .modal button:focus {
    background: linear-gradient(120deg, #e03e2f, #7a0dbf);
    outline: none;
  }
  .modal .btn-cancel {
    background: #ccc;
    color: #444;
  }
  .modal .btn-cancel:hover,
  .modal .btn-cancel:focus {
    background: #999;
    color: white;
  }

  /* Custom image selector */
  .custom-file-input {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
  }
  .custom-file-input button {
    background: linear-gradient(120deg, #f6513a, #9917f1);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5em 1em;
    border-radius: 0.6em;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .custom-file-input button:hover,
  .custom-file-input button:focus {
    background: linear-gradient(120deg, #e03e2f, #7a0dbf);
    outline: none;
  }
  .custom-file-input input[type="file"] {
    display: none;
  }
  .file-preview {
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
    margin-bottom: 1em;
  }
  .file-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.5em;
    border: 1.5px solid #ccc;
    position: relative;
  }
  .file-preview .remove-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #f6513a;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    user-select: none;
  }

  /* Responsive */
  @media (max-width: 480px) {
    .filter-group {
      gap: 0.8em;
    }
    .filter-radio {
      font-size: 0.9rem;
      padding-left: 24px;
    }
    .filter-radio .checkmark {
      height: 18px;
      width: 18px;
    }
    .hooks-listing {
      padding: 1em 1em 1.2em 1em;
    }
    .hooks-profile-img {
      height: 2.8em;
      width: 2.8em;
      border-width: 1.8px;
    }
    .hooks-user-details b {
      font-size: 1rem;
    }
    .hooks-activity {
      font-size: 0.75rem;
    }
    .hooks-caption {
      font-size: 0.9rem;
    }
    .hooks-media {
      height: 180px;
      width: 140px;
      margin-right: 0.8em;
      border-radius: 0.8em;
    }
    .unlock-hook {
      height: 2.8em;
      font-size: 1rem;
      border-radius: 0.8em;
    }
    .start-hooks {
      height: 2.6em;
      font-size: 1rem;
      margin-bottom: 1.5em;
    }
    .floating-plus {
      width: 48px;
      height: 48px;
      font-size: 1.6rem;
      bottom: 5rem;
      right: 1.5rem;
    }
    .modal {
      max-width: 95vw;
      padding: 1em 1.2em 1.5em 1.2em;
    }
  }
  .hooks-user-details b {
    width: 80%;
    text-overflow: ellipsis;
    overflow: hidden;
}
  @media (max-width: 48em) {
    .modal .gender-group {
    display: flex
;
    gap: 1em;
    margin-bottom: 1em;
    flex-wrap: wrap;
    font-size: .8em;
}
  }