/* ===== 06-account-profile.css ===== */
/* ===== extrait de index.html : style #14 ===== */
  .account-security {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .account-logout-button {
    margin-top: 10px;
  }

  .blocked-accounts-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .blocked-accounts-heading {
    font-weight: 800;
  }

  .blocked-accounts-help {
    margin: 6px 0 0;
    color: #aaa;
    font-size: 13px;
    line-height: 1.45;
  }

  .blocked-accounts-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
  }

  .blocked-account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 12px 14px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;

    background: #0d0d0d;
  }

  .blocked-account-identity {
    min-width: 0;
  }

  .blocked-account-name {
    overflow: hidden;

    font-weight: 750;

    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .blocked-account-username {
    overflow: hidden;

    margin-top: 2px;

    color: #999;
    font-size: 13px;

    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .blocked-account-empty {
    color: #999;
    font-size: 13px;
    line-height: 1.45;
  }

  .blocked-account-unblock {
    flex: 0 0 auto;

    min-height: 38px;

    padding: 8px 13px;

    border: 1px solid #353535;
    border-radius: 12px;

    background: #171717;
    color: #fff;

    font: inherit;
    font-size: 13px;
    font-weight: 750;

    cursor: pointer;
  }

  .blocked-account-unblock:disabled {
    opacity: .55;
    cursor: default;
  }

  .public-profile-block-actions {
    margin-top: 10px;
  }

  .public-profile-block-button {
    border-color: #ff2f92;
    background: transparent;
    color: #ff2f92;
  }

  .public-profile-block-button:hover {
    background: rgba(255,47,146,.08);
  }

/* ===== extrait de index.html : style #15 ===== */
  .account-danger-button {
    margin-top: 10px;
    background: #ff2f92;
    border: 1px solid #ff2f92;
    color: #fff;
  }

  .account-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2200;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
      max(20px, env(safe-area-inset-top))
      max(20px, env(safe-area-inset-right))
      max(20px, env(safe-area-inset-bottom))
      max(20px, env(safe-area-inset-left));

    background: rgba(0,0,0,.78);

    overscroll-behavior: none;
  }

  .account-modal-overlay[hidden] {
    display: none;
  }

  .account-modal {
    width: 100%;
    max-width: 460px;

    padding: 24px;

    border: 1px solid #2d2d2d;
    border-radius: 18px;

    background: #101010;
    color: #fff;

    box-shadow:
      0 24px 80px rgba(0,0,0,.55);
  }

  .account-modal h2 {
    margin: 0 0 12px;

    font-size: 20px;
    line-height: 1.2;
  }

  .account-modal p {
    margin: 0;

    color: #c9c9c9;

    font-size: 14px;
    line-height: 1.55;
  }

  .account-modal-actions {
    display: grid;
    gap: 10px;

    margin-top: 22px;
  }

  .account-modal-secondary,
  .account-modal-danger {
    width: 100%;
    min-height: 50px;

    padding: 12px 16px;

    border-radius: 14px;

    font: inherit;
    font-weight: 700;

    cursor: pointer;
  }

  .account-modal-secondary {
    border: 1px solid #303030;

    background: #171717;
    color: #fff;
  }

  .account-modal-danger {
    border: 0;

    background: #fff;
    color: #000;
  }

  .account-modal-secondary:disabled,
  .account-modal-danger:disabled {
    opacity: .55;
    cursor: default;
  }

/* ===== extrait de index.html : style #16 ===== */
  .profile-text-input,
  .profile-handle-field {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #292929;
    border-radius: 14px;

    background: #111;
    color: #fff;

    font: inherit;
  }

  .profile-text-input {
    min-height: 48px;
    padding: 12px 14px;
  }

  .profile-handle-field {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
  }

  .profile-handle-field > span {
    flex: 0 0 auto;
    color: #888;
    margin-right: 2px;
  }

  .profile-handle-field > input {
    flex: 1;
    min-width: 0;

    padding: 12px 4px;

    border: 0;
    outline: 0;

    background: transparent;
    color: #fff;

    font: inherit;
  }

  .profile-text-input:focus,
  .profile-handle-field:focus-within {
    border-color: #666;
  }
